Bug 472253 - Thumbnails of TIFF files show as low resolution with visible colour bands.
Summary: Thumbnails of TIFF files show as low resolution with visible colour bands.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Image (other bugs)
Version First Reported In: 8.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-14 16:01 UTC by IvorJ
Modified: 2023-07-14 20:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0
Sentry Crash Report:


Attachments
Shows raw and tiff files (56.13 KB, image/jpeg)
2023-07-14 16:01 UTC, IvorJ
Details
attachment-2963570-0.html (1.98 KB, text/html)
2023-07-14 17:13 UTC, IvorJ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description IvorJ 2023-07-14 16:01:30 UTC
Created attachment 160284 [details]
Shows raw and tiff files

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. View a mix of raw and tiff files in album view
2. 
3. 

OBSERVED RESULT
See attachment

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 11


ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2023-07-14 16:45:40 UTC
I cannot reproduce the problem with my TIFF files. What program were the TIFF files created with? They may contain a bad thumbnail/preview image in the metadata.
Please download a sample image from a file hoster so we can investigate the problem.

Maik
Comment 2 Maik Qualmann 2023-07-14 16:48:06 UTC
Of course I mean uploading a sample image.

Maik
Comment 3 IvorJ 2023-07-14 17:13:58 UTC
Created attachment 160288 [details]
attachment-2963570-0.html

Maik

The TIFFs were created in Digikam.  The actual TIFFs are fine, it's the
preview that's the problem.

Ivor

On Fri, 14 Jul 2023 at 17:45, Maik Qualmann <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=472253
>
> Maik Qualmann <metzpinguin@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>            Platform|Other                       |Microsoft Windows
>           Component|Albums-MainView             |Thumbs-Image
>                  CC|                            |metzpinguin@gmail.com
>                  OS|Other                       |Microsoft Windows
>
> --- Comment #1 from Maik Qualmann <metzpinguin@gmail.com> ---
> I cannot reproduce the problem with my TIFF files. What program were the
> TIFF
> files created with? They may contain a bad thumbnail/preview image in the
> metadata.
> Please download a sample image from a file hoster so we can investigate the
> problem.
>
> Maik
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 4 Maik Qualmann 2023-07-14 20:11:07 UTC
Git commit b45071d7f6c763c4a987754d594afd097447a057 by Maik Qualmann.
Committed on 14/07/2023 at 20:09.
Pushed by mqualmann into branch 'master'.

use default value again for compression of TIFF preview
QImage compression setting seems to differ between
Linux and Windows or different Qt versions.
FIXED-IN: 8.2.0

M  +9    -1    NEWS
M  +1    -1    core/libs/metadataengine/engine/metaengine_item.cpp

https://invent.kde.org/graphics/digikam/-/commit/b45071d7f6c763c4a987754d594afd097447a057
Comment 5 Maik Qualmann 2023-07-14 20:14:38 UTC
A preview of digiKam-8.2.0 will be available here soon which will include the change.

https://files.kde.org/digikam/

The date in the file name, it must be greater than 07/14/2023.

Maik