Bug 459543

Summary: Feature request: Zoom to width
Product: [Applications] digikam Reporter: afaninthehouse
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: avmaksimov, caulier.gilles
Priority: NOR    
Version First Reported In: 7.8.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: comparison of 3 different zoom options for digikam feature request
2nd example of feature request but this time with image taller than my screen at 100% zoom

Description afaninthehouse 2022-09-22 19:17:43 UTC
Created attachment 152348 [details]
comparison of 3 different zoom options for digikam feature request

SOFTWARE/OS VERSIONS
Operating Systems: Windows, Mac, Linux
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Hello I have a feature request.
I would like an additional zoom feature, to zoom an image to width.
This means that if the dimensions of an image is wider than my screen resolution, that there should be an option to make the DISPLAYED zoom level of the image, become as large enough that it perfectly fits inside the viewport of my screen resolution, within the available preview pane or the full screen view.

The effect would only be noticeable at first glance, if the image in question has dimensions that is larger than the screen resolution width or the panel canvas width

An example image is attached.
Comment 1 afaninthehouse 2022-10-05 19:18:44 UTC
Created attachment 152605 [details]
2nd example of feature request but this time with image taller than my screen at 100% zoom
Comment 2 afaninthehouse 2022-10-05 19:19:14 UTC
Here's another image attached to better illustrate how this feature should work using my requested zoom setting.
Notice how this time, the dimensions of the image is so tall, that it exceeds the height of my screen, when at 100% zoon (actual size).
Comment 3 Andrei 2023-02-26 06:39:50 UTC
Hello! If it would be fit only by width the some parts of image will be not shown.
Comment 4 afaninthehouse 2023-02-26 09:20:21 UTC
(In reply to Andrei from comment #3)
> Hello! If it would be fit only by width the some parts of image will be not
> shown.

Exactly! That's the whole point!
So then I would be able to use the arrow keys on the keyboard or "hold and drag" with the mouse, to pan around the image.
This is also why in my 2 image attachments I uploaded, I compared all 3 zoom options together. So I can easily switch between all three.