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 31 forks source link

Zoom over 1000% #428

Open will-moore opened 3 years ago

will-moore commented 3 years ago

See https://forum.image.sc/t/omero-iviewer-zoom-limits/39220/3

Want to support zooming over 1000%, but don't want the slider to be too insensitive at lower zoom values. One solution might be to allow users to edit the Zoom value as a Text field (as you can do with channel rendering sliders).

This is similar to #371 (text field for rotation slider).

imagesc-bot commented 3 years ago

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

https://forum.image.sc/t/omero-iviewer-zoom-limits/39220/4

will-moore commented 1 year ago

Also requested at https://forum.image.sc/t/couple-of-suggestions-about-omero-figure/72675 to manually enter the Zoom value.

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

Rdornier commented 1 year ago

Hello @will-moore,

Do you think that the manual way to enter the zoom value will be integrated soon ? I have a project with whole slide images and the value of the zoom is quite critical. Using the slider, it is not possible to achieve the value we want.

I'm also happy to contribute a bit to omero-figure but when I browse the repo, I was a but lost between the different files (json, html) and I do not really know where to modify things.

Thanks, Rémy.

will-moore commented 1 year ago

There is a big upgrade to figure in progress, which will make it easier to develop locally (https://github.com/ome/omero-figure/pull/477), but which will also conflict with other work.

Probably the easiest workaround is based on https://omero-guides.readthedocs.io/en/latest/figure/docs/omero_figure_scripting.html Select the panels you want to set the zoom on, then in the browser console, enter:

figureModel.getSelected().forEach(function(p){
    p.set('zoom', 500)
});

The right panel won't update responsively, but if you de-select and re-select the image, the right panel will update.

Rdornier commented 1 year ago

Ok, thanks for the infos. I tried the workaround ; it works but it's not convienent as users should also do this as well. But at least, they have a way to set the same zoom level.

I'm happy to see the new features in that update :)