ome / omero-figure

An OMERO.web app for creating Figures from images in OMERO
http://figure.openmicroscopy.org
GNU Affero General Public License v3.0
15 stars 30 forks source link

Rotate 90° without cropping #484

Open will-moore opened 1 year ago

will-moore commented 1 year ago

See https://forum.image.sc/t/couple-of-suggestions-about-omero-figure/72675

"In the preview tab, for rectangle images, rotating the image crops a part of it because of the fix canvas. Therefore, it is not possible to flip the image by 90° and having it entirely displayed. I think it could be great to have an option to flip the image by 90° and 180° (left and right)."

This feature exists on various photo apps, often with a single button that rotates the image by 90° each time it's clicked, with icons like:

Screenshot 2022-10-13 at 09 46 37 Screenshot 2022-10-13 at 09 48 20

OMERO.figure could do this by automatically setting the rotation value and updating the width/height at the same time.

imagesc-bot commented 1 year ago

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/couple-of-suggestions-about-omero-figure/72675/2

imagesc-bot commented 7 months ago

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/omero-figure-crop-uses-original-image-aspect-ratio-after-rotation/89444/2

Rdornier commented 7 months ago

There is a issue when rotating and cropping an image. The cropped image loose the rotation information of the parent image