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

Crop fails if page/panel is in horizontal orientation #539

Closed abhamacher closed 4 months ago

abhamacher commented 5 months ago

Hi Will,

I often use the "Crop page around panels" option in the File/Page Setup menu, but there is one case where it unfortunately fails.

The workflow where it happens is:

  1. Set the page size to A4 horizontal orientation
  2. Create a panel of images
  3. Use "Crop page around panels"

To illustrate it, here's a very basic example before cropping:

image

After cropping you get:

image

The workflow works fine, when the original page is in vertical orientation.

Would be really nice if this could be fixed at some point for the horizontal orientation.

Thank you, Anna

will-moore commented 5 months ago

Thanks for the bug report. I've opened a PR fix at #541.

In the meantime, a work-around is to simply choose the Vertical option at the same time as Crop option, and then it should crop correctly.

will-moore commented 3 months ago

@abhamacher - this was fixed in OMERO.figure 6.2.0.