Summary: | Digikam shows pictures from PENTAX camera incorrectly in imageview | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Sebastian L <samlabc> |
Component: | Preview-Image | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles |
Priority: | NOR | ||
Version: | 1.3.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.0.0 | |
Sentry Crash Report: | |||
Attachments: |
digiKam 1.4.0 K10D preview
digikam shows very small preview with black bars |
Description
Sebastian L
2010-07-27 23:39:48 UTC
image file is too big for attachement (2.2 MB), you can download it here: http://www.mal-was-anderes.de/_IGP7682.JPG Created attachment 49570 [details]
digiKam 1.4.0 K10D preview
All work fine there, in preview mode and in editor. Nothing special. preview mode show a reduced size version of image (libjpeg feature) to speed up time loading. It's a option from digiKam setup dialog.
Gilles Caulier
Created attachment 49572 [details]
digikam shows very small preview with black bars
In your screenshot the reduced size preview shows the image correctly. In my digiKam 1.3 the preview image is show with black bars (see screenshot).
When enabling the option "Embedded preview loads full-sized images" in the setup dialog, the image is shown correctly.
I think it would be good to have a possibility to change between full-sized and reduced-size preview in the gui. Perhabs by clicking on the "Reduce Size Preview" text.
Another alternative could be to show a hint to the setup dialog where the preview mode can be changed when hovering over the "Reduce Size Preview" text.
Sound like a libjpeg issue. Here i use 8.0 version. Gilles Caulier I'm using libjpeg8 8.0.1-1.9 from the opensuse 11.3 repositories I can reproduce this here. The 640x480 preview is shown, which has these borders because the real image scales to 640x428. Why is this preview shown? We require half the desktop size, let it be 1280: // require at least half preview size if (qMax(previews.width(), previews.height()) >= size / 2) and 1280 / 2 = 640, so this hits. I have a feeling that such a small preview usually has no good quality. Should we require full desktop size? or 80%? Or let the condition as is, but require a minimum of 1024px? I just tested with 2.0, and the problem is solved. A lot of code has been changed in that area, so I assume it is fixed. |