Bug 447253

Summary: Gwenview shows PEF raw images only black
Product: [Applications] gwenview Reporter: Manfred Vonderheidt <tulkas>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: REPORTED ---    
Severity: normal CC: vzaskevicius
Priority: NOR    
Version First Reported In: 21.08.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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
Comment 1 A Linux User 2025-08-18 22:34:32 UTC
*** Bug 444889 has been marked as a duplicate of this bug. ***