Summary: | Add option available to not resample images in viewer | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Quincy <bbc.quincy> |
Component: | Preview-Image | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | benedekppeter, caulier.gilles, metzpinguin |
Priority: | NOR | ||
Version: | 7.1.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | All | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/-/commit/a0d00ea0c8971ae014106c54e2b6ce36a2d19c26 | Version Fixed In: | 8.5.0 |
Sentry Crash Report: | |||
Attachments: | Comparison gwenview vs. digikam |
Description
Quincy
2021-01-18 16:05:49 UTC
Which kind of scientific images exactly ? Can you share samples please ? Created attachment 175310 [details] Comparison gwenview vs. digikam Unfortunately I was never notified of your answer via email, therefore I'm a bit late: Images contain plants or plant parts as they could have been taken with a normal digital camera, but are compressed lossless (e.g. TIFF). Unfortunately I cannot share the original ones, but it does not really matter. We can also also use NASA images for example https://photojournal.jpl.nasa.gov/tiff/PIA26448.tif. The only thing I'm talking about is this: At some high some level (1200% in this case) of zoom gwenview (left) does show the individual pixels clearly, while digikam (right) blurrs them. I assume this is just some setting/option/argument in the underlying displaying library (Qt?!), but unfortunately I have no clue about how or where this happens to compare between gwenview and digikam (not any Qt experience). We have our own code for scaling, which originally came from Imlib2. We have developed it further, added 16-bit support and fixed crashes with large files. This code currently has no way to disable blurring of pixels. Now comes my personal opinion. I really like our scaler for photos. Qt's own scaler has 2 methods, fast and smooth. Qt-Smooth is OK, but nowhere near as good as digiKam's. For people who want/need to see pixels, it may not be as good. When I have time, I will take another look at our scaler to see if we can optionally disable blurring. Maik Git commit a4e374e99708bd16dfdd6815e15adf8a52dbcccf by Maik Qualmann. Committed on 31/10/2024 at 16:23. Pushed by mqualmann into branch 'master'. implement the option to disable smooth scaling Not yet implemented in the GUI Related: bug 491580 M +3 -2 core/libs/dimg/dimg.h M +34 -30 core/libs/dimg/dimg_scale.cpp https://invent.kde.org/graphics/digikam/-/commit/a4e374e99708bd16dfdd6815e15adf8a52dbcccf Git commit a0d00ea0c8971ae014106c54e2b6ce36a2d19c26 by Maik Qualmann. Committed on 31/10/2024 at 20:22. Pushed by mqualmann into branch 'master'. add configuration options for Anti-aliasing image upscaling Note: this Image Preview option also works on the Image Editor. Related: bug 491580 FIXED-IN: 8.5.0 M +2 -2 NEWS M +5 -0 core/libs/settings/applicationsettings.cpp M +7 -5 core/libs/settings/applicationsettings.h M +12 -0 core/libs/settings/applicationsettings_iconview.cpp M +4 -2 core/libs/settings/applicationsettings_p.h M +2 -1 core/libs/widgets/graphicsview/graphicsdimgitem.cpp M +7 -0 core/libs/widgets/graphicsview/imagezoomsettings.cpp M +4 -0 core/libs/widgets/graphicsview/imagezoomsettings.h M +2 -1 core/utilities/imageeditor/widgets/imagepreviewitem.cpp M +2 -1 core/utilities/imageeditor/widgets/imageregionitem.cpp M +9 -2 core/utilities/setup/album/setupalbumview.cpp https://invent.kde.org/graphics/digikam/-/commit/a0d00ea0c8971ae014106c54e2b6ce36a2d19c26 Downloaded digiKam-8.5.0-20241102T170111-Qt6-x86-64.appimage for testing - works exactly as expected! For "artistic" photos the scaler is fine and does what it should do, for the purposes outlined here it is not that suitable, but that is also a bit beyond digikams usual use case. Given that I'm especially thankful for the enhancement broadening digikams use case. Many thanks Maik! (In reply to Quincy from comment #6) > Downloaded digiKam-8.5.0-20241102T170111-Qt6-x86-64.appimage for testing - > works exactly as expected! > Where can I enable this? here : https://i.imgur.com/akM3kcy.png Gilles Caulier (In reply to caulier.gilles from comment #8) > here : > > https://i.imgur.com/akM3kcy.png > > Gilles Caulier Thank you Gilles! |