olive-groves / butterfly_viewer

Side-by-side image viewer with synchronized zoom and sliding overlays. Drag and drop to instantly compare multiple images on your desktop. Very open source.
https://olive-groves.github.io/butterfly_viewer/
Other
22 stars 3 forks source link

[Feature] I want to compare images of different size side-by-side as if they were the same size #32

Closed alethinh closed 3 months ago

alethinh commented 7 months ago

Original title: [Feature] <I want to compare multiple image versions after upscaling> @larsmaxfield 2024-05-11 13:13

Is there an existing request for this feature?

Is your feature request related to a problem?

I want to compare multiple image versions after upscaling

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Anything else?

No response

larsmaxfield commented 6 months ago

Hi @alethinh, it's not clear to me what this feature would look like. Can you provide more details? An illustration of what you envision or a sequence of user actions would be useful.

alethinh commented 6 months ago

Butterfly Viewer https://live.staticflickr.com/65535/53505319801_7ad7b7caa1_k.jpg

Butterfly Viewer does not show synchronous dimensions

FastStone Image Viewer (4 images compare) https://live.staticflickr.com/65535/53505312606_0509c5e8d5_k.jpg

With Butterfly Viewer's drag and drop feature, I can place images in different locations on the hard drive As for FastStone Viewer, those images must be in the same folder location

larsmaxfield commented 6 months ago

Thanks @alethinh. Makes sense.

Indeed the Butterfly Viewer synchronizes the pixel size, not the dimensions.

I'm not sure how easy it will be to implement this in the backend, but on the interface I think a simple "sync by dimensions" toggle would suffice in the right-click menu.

I will take a look.

larsmaxfield commented 6 months ago

@alethinh I believe I've found a solution which will be straightforward to implement. However, I likely won't be able to fully implement it until later next month (March). I'll keep you updated.

alethinh commented 6 months ago

That's great, wish you success with your work, relax with life

larsmaxfield commented 3 months ago

@alethinh I've implemented the solution and pushed it to main. You can access the setting through the right-click menu.

Three photos of decreasing dimension synchronized by fit-in-a-box in Butterfly Viewer

Three photos of decreasing dimension synchronized by pixel size in Butterfly Viewer _Photo source: Spacecraft communicators at the Lyndon B. Johnson Space Center in Houston, Texas, USA, keeping in contact with the Apollo 11 astronauts during their lunar landing mission on 20 July 1969_

I will generate the Windows and MacOS versions for the official release (#31) once I've updated the docs (#41).

Sliding overlays still require that images have the same dimensions for them to be compared 1:1 in a given sliding overlay window. It does not relatively scale them... yet (#42).

larsmaxfield commented 3 months ago

Automatic image scaling is now available for Windows and macOS in the latest release.