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
assumes that a resolution lower than the maximum plane size will be found which is incorrect. Minimally this should be updated to handle the case where the lowest resolution is greated than 3kx3k in a default configuration.
This raises the question of the how the export script and more generally the application should behave in these scenarios. One approach would be to use tile render calls rather than plane calls but this might be a larger effort. Another option would be to block render calls with an informative error message when the lowest resolution is larger than the maximum plane size similarly to what was done in #560 for maximum projection.
The text was updated successfully, but these errors were encountered:
The issue can be simulated with a synthetic image with the following dimensions
After importing this image into OMERO, creating a figure and trying to export it, the script fails with the following error:
The logic in
omero-figure/omero_figure/scripts/omero/figure_scripts/Figure_To_Pdf.py
Lines 1700 to 1704 in 1dfb138
assumes that a resolution lower than the maximum plane size will be found which is incorrect. Minimally this should be updated to handle the case where the lowest resolution is greated than 3kx3k in a default configuration.
This raises the question of the how the export script and more generally the application should behave in these scenarios. One approach would be to use tile render calls rather than plane calls but this might be a larger effort. Another option would be to block render calls with an informative error message when the lowest resolution is larger than the maximum plane size similarly to what was done in #560 for maximum projection.
The text was updated successfully, but these errors were encountered: