How do I keep the same zoom level such that the image resolution is always the same?
i.e. when I change the viewport size the zoom level should stay the same
for example if this is my view:
when I change the viewport size everything in the view shrinks:
what I need is for it to stay the same size, more like changing the size of the viewport would be like cropping: