-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
embedded jpeg not used for zommed preview #7162
Comments
Do we really care for this feature (using embedded jpegs)?.. |
I think yes, we need to take care of that. I've had for example used a long time an old laptop (a 2013 Macbook pro used on Linux) and zoomed preview was slow with full pipe recomputed to display processed raw. |
yes, it's really faster. |
Describe the bug
With setting "use embedded jpeg, when zooming inside a full preview image we always recreate the image with the full pipe, even if the full preview image is large enough.
I have traced the origin of the problem, but sadly, I've not the solution...
As soon as you zoom inside a full preview (same for culling)
dtgtk/thumbnail.c:1712
: we need to know the final size of the image to get the zoom limitscommon/image.c:602
develop/develop.c:724
develop/develop.c:2027
develop/develop.c:1993
(somewhere after)common/history.c:1413
and remove flagDT_HISTORY_HASH_BASIC
in favor ofDT_HISTORY_HASH_AUTO
At this point, as we test for
DT_HISTORY_HASH_BASIC
to load the embedded preview or not (common/mipmap_cache.c:1157
) we switch to the full pipe instead...So I'm not sure what to do... taking account of auto applied presets to get the final imagesize seems legitimate, as some can have presets that change the final size. On the other hand, if we go that way, we should never load embedded previews...
The simplest solution would be to revert to testing
DT_HISTORY_HASH_BASIC
orDT_HISTORY_HASH_AUTO
in mipmap_cache, but I'm not sure of the problems it can cause...@phweyland : git blame says you are the one that have changed that, so you may have some hint...
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: