Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Request: Improved Crop Experience of Resizing Crop Region of Zoomed-In Image #382

Open
rickshane opened this issue Mar 21, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@rickshane
Copy link
Contributor

rickshane commented Mar 21, 2024

Some image editing apps have a particular UX when it comes to resizing the crop region of a zoomed-in image.

Crop resizing UX typically involves adjusting the crop frame from one side along an axis or a corner point that will potentially expand/contract along two axes. If expanding, the expansion of the crop frame will continue until it meets the edge of the image. This is how Mantis currently functions for an image that is fully visible on screen along the axis being expanded (assuming the mask is turned off).

But if the image is zoomed-in and a portion of the image is off-screen in the direction of the crop frame expansion, then some adjustments will need to be made to the zoomScale and contentOffset of the scrollView to animate the image back in to view until an edge of the image along the expansion axis is met. In Freeform (unlocked) aspect ratio mode, this also causes the opposite axis of the crop frame to shrink in the simple case that expansion occurs along a single axis (this is to give the appearance that the crop frame is elongating along the expanding axis). This is an important UX enhancement that would greatly improve Mantis.

To complicate this experience, Catalyst UX should be different than iOS. Catalyst should hide the toolbar and use the entire View to resize the crop frame in the direction of the expansion. Typically on an iOS device, there are controls displayed on screen along with the grid control. In this case, the grid control should have a maximum size that is inset from any controls or tool bar that remain visible on screen during a resize operation. Currently, Mantis allows expansion below the toolbar which is an awkward experience.

@rickshane
Copy link
Contributor Author

Here is a video showing enlarging along x axis to the left of zoomed in image:

Crop.Enlarging.Zoomed.In.Image.mov

@guoyingtao guoyingtao self-assigned this Mar 22, 2024
@guoyingtao guoyingtao added the enhancement New feature or request label Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants