Bug 447253 - Gwenview shows PEF raw images only black
Summary: Gwenview shows PEF raw images only black
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 21.08.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-20 06:49 UTC by Manfred Vonderheidt
Modified: 2021-12-20 06:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Vonderheidt 2021-12-20 06:49:22 UTC
SUMMARY

I am using Gwenview under Gentoo Linux. After the last update from version 21.04.03 to 21.08.3 (and also with 21.12.0) Gwenview is not able to display PEF (Pentax raw) images anymore. These images are shown completely black. The error message is:

gwenview.libtiff: Error foo "Sorry, can not handle images with 14-bit samples"

This error message comes from the Tiff library, but I it is still version 4.3.0 which worked with the older Gwenview version. I don't know if this error is directly caused by Gwenview or by another library between Gwenview and the Tiff library. So please tell me what additional information you need. ORF raw images are still shown correctly.

STEPS TO REPRODUCE

1. Download a PEF file, for example from https://s3.amazonaws.com/files.dpreview.com/sample_galleries/8034986469/4876920099.pef?X-Amz-Expires=3600&response-content-disposition=attachment%3B%20filename%3D%22IMGP0593.pef%22&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA4NPXSRZN2I2XWOXX/20211220/us-east-1/s3/aws4_request&X-Amz-Date=20211220T063958Z&X-Amz-SignedHeaders=host&X-Amz-Signature=e72bdba9f09ffc7fecf5d09f3f7547252116ebd87fa7d1f0be2f2ec926714416
2. Open file in Gwenview

OBSERVED RESULT

The image is shown completely black with the following error message:
gwenview.libtiff: Error foo "Sorry, can not handle images with 14-bit samples"


EXPECTED RESULT

Image is shown normally as with version 21.04 and older.

SOFTWARE/OS VERSIONS

Linux: Gentoo Linux with Kernel 5.10.61-gentoo-x86_64
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2