You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading an image that has, for instance, a tall aspect ratio, the canvas is set to the dimensions of the loaded image, and then when panning and zooming, the image is obviously constrained to the shape of the canvas.
If I have a large area available for the canvas, I would prefer for it to use as much space as possible, initially resizing the image to fit the bounds, but then on zooming expand out to use the available canvas
eg, on initial load;
when zooming and panning;
Is there a method to fix the canvas size and have the image initially fit the canvas?
The text was updated successfully, but these errors were encountered:
Question:
When loading an image that has, for instance, a tall aspect ratio, the canvas is set to the dimensions of the loaded image, and then when panning and zooming, the image is obviously constrained to the shape of the canvas.
If I have a large area available for the canvas, I would prefer for it to use as much space as possible, initially resizing the image to fit the bounds, but then on zooming expand out to use the available canvas
eg, on initial load;

when zooming and panning;

Is there a method to fix the canvas size and have the image initially fit the canvas?
The text was updated successfully, but these errors were encountered: