<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>466821</bug_id>
          
          <creation_ts>2023-03-04 11:32:55 +0000</creation_ts>
          <short_desc>Digikam git can&apos;t manage 16 bit float .xcf</short_desc>
          <delta_ts>2024-09-30 05:52:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-kimageformats</product>
          <component>general</component>
          <version>5.10.0</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="maderios">leoutation</reporter>
          <assigned_to name="Alex Merry">alex.merry</assigned_to>
          <cc>aacid</cc>
    
    <cc>kdelibs-bugs-null</cc>
    
    <cc>metzpinguin</cc>
    
    <cc>mircomir</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2213813</commentid>
    <comment_count>0</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2023-03-04 11:32:55 +0000</bug_when>
    <thetext>Conditions 
Digikam git
Arch system
Gimp 2.10.34
Digikam doesn&apos;t display thumbs or open 16 bit float .xcf files
Here example files
https://www.dropbox.com/s/nwnyzaymas2hb1o/test-simplebackground-16bit-floatinginteger.xcf?dl=0
https://www.dropbox.com/s/iaxt0nkucl81oyt/test-simplebackground-16bitfloatingpoint.xcf?dl=0
https://www.dropbox.com/s/h9ckhwzafuj5gdo/test-_JUL0025-RT16bitfloatingpoint-2.xcf?dl=0
https://www.dropbox.com/s/0sdcb20lc8a8sxw/_JUL0025-RT16bitfloat-2.tif?dl=0


digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf  (Error # 11 :  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf: The file contains data of an unknown image type&quot;
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool &quot;Load Chunks&quot; &quot;-TagsFromFile /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf -all:all -o -.exv&quot;
digikam.metaengine: Loading metadata with &quot;Exiv2&quot; backend from &quot;/home/mn/test-digikam/_JUL0025-RT16bitfloat-2.tif&quot;
digikam.general: Trying to get thumbnail from &quot;/home/mn/test-digikam/_JUL0025-RT16bitfloat-2.tif&quot; ( &quot;image&quot; )
digikam.general: Trying to get thumbnail with Exiv2 for &quot;/home/mn/test-digikam/_JUL0025-RT16bitfloat-2.tif&quot;
digikam.general: Trying to get thumbnail with DImg preview for &quot;/home/mn/test-digikam/_JUL0025-RT16bitfloat-2.tif&quot;
digikam.dimg: &quot;/home/mn/test-digikam/_JUL0025-RT16bitfloat-2.tif&quot; : &quot;TIFF&quot; file identified
digikam.general: Cancel Main Thread
digikam.general: One job is done
digikam.general: Cancel Main Thread
digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf  (Error # 11 :  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf: The file contains data of an unknown image type&quot;
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool &quot;Load Chunks&quot; &quot;-TagsFromFile /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf -all:all -o -.exv&quot;
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Chunks&quot; with elasped time (ms): 29
digikam.metaengine: EXV chunk size: 0
digikam.metaengine: ExifTool parsed command for action &quot;Load Chunks&quot; 1 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Chunks&quot; for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Metadata chunk loaded with ExifTool has no data
digikam.metaengine: Loading metadata with &quot;No Backend&quot; backend from &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail from &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; ( &quot;image&quot; )
digikam.general: Trying to get thumbnail with Exiv2 for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail with DImg preview for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with libraw for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Cannot load metadata with Exiv2:  (Error # 11 :  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf: The file contains data of an unknown image type&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; : &quot;QIMAGE&quot; file identified
digikam.dimg.qimage: Can not load &quot; &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; &quot; using DImg::DImgQImageLoader!
digikam.dimg.qimage: Error message from loader: &quot;Unable to read image data&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; : Unknown image format !!!
digikam.general: mimetype =  &quot;XCF&quot;  ext =  &quot;XCF&quot;
digikam.general: Cannot create thumbnail for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Thumbnail is null for  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: One job is done
digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf  (Error # 11 :  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf: The file contains data of an unknown image type&quot;
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool &quot;Load Chunks&quot; &quot;-TagsFromFile /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf -all:all -o -.exv&quot;
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Chunks&quot; with elasped time (ms): 14
digikam.metaengine: EXV chunk size: 0
digikam.metaengine: ExifTool parsed command for action &quot;Load Chunks&quot; 1 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Chunks&quot; for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Metadata chunk loaded with ExifTool has no data
digikam.metaengine: Loading metadata with &quot;No Backend&quot; backend from &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail from &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; ( &quot;image&quot; )
digikam.general: Trying to get thumbnail with Exiv2 for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail with DImg preview for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with libraw for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.metaengine: Cannot load metadata with Exiv2:  (Error # 11 :  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf: The file contains data of an unknown image type&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; : &quot;QIMAGE&quot; file identified
digikam.dimg.qimage: Can not load &quot; &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; &quot; using DImg::DImgQImageLoader!
digikam.dimg.qimage: Error message from loader: &quot;Unable to read image data&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; : Unknown image format !!!
digikam.general: mimetype =  &quot;XCF&quot;  ext =  &quot;XCF&quot;
digikam.general: Cannot create thumbnail for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Thumbnail is null for  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: One job is done
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Chunks&quot; with elasped time (ms): 14
digikam.metaengine: EXV chunk size: 0
digikam.metaengine: ExifTool parsed command for action &quot;Load Chunks&quot; 1 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Chunks&quot; for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Metadata chunk loaded with ExifTool has no data
digikam.metaengine: Loading metadata with &quot;No Backend&quot; backend from &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail from &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; ( &quot;image&quot; )
digikam.general: Trying to get thumbnail with Exiv2 for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail with DImg preview for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with libraw for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Cannot load metadata with Exiv2:  (Error # 11 :  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf: The file contains data of an unknown image type&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; : &quot;QIMAGE&quot; file identified
digikam.dimg.qimage: Can not load &quot; &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; &quot; using DImg::DImgQImageLoader!
digikam.dimg.qimage: Error message from loader: &quot;Unable to read image data&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; : Unknown image format !!!
digikam.general: mimetype =  &quot;XCF&quot;  ext =  &quot;XCF&quot;
digikam.general: Cannot create thumbnail for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Thumbnail is null for  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf  (Error # 11 :  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf: The file contains data of an unknown image type&quot;
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool &quot;Load Chunks&quot; &quot;-TagsFromFile /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf -all:all -o -.exv&quot;
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Chunks&quot; with elasped time (ms): 19
digikam.metaengine: EXV chunk size: 0
digikam.metaengine: ExifTool parsed command for action &quot;Load Chunks&quot; 1 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Chunks&quot; for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Metadata chunk loaded with ExifTool has no data
digikam.metaengine: Loading metadata with &quot;No Backend&quot; backend from &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail from &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; ( &quot;image&quot; )
digikam.general: Trying to get thumbnail with Exiv2 for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail with DImg preview for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with libraw for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Cannot load metadata with Exiv2:  (Error # 11 :  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf: The file contains data of an unknown image type&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; : &quot;QIMAGE&quot; file identified
digikam.dimg.qimage: Can not load &quot; &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; &quot; using DImg::DImgQImageLoader!
digikam.dimg.qimage: Error message from loader: &quot;Unable to read image data&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; : Unknown image format !!!
digikam.general: mimetype =  &quot;XCF&quot;  ext =  &quot;XCF&quot;
digikam.general: Cannot create thumbnail for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Thumbnail is null for  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf  (Error # 11 :  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf: The file contains data of an unknown image type&quot;
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool &quot;Load Chunks&quot; &quot;-TagsFromFile /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf -all:all -o -.exv&quot;
digikam.general: One job is done
digikam.general: List of Pending Jobs is empty
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Chunks&quot; with elasped time (ms): 15
digikam.metaengine: EXV chunk size: 0
digikam.metaengine: ExifTool parsed command for action &quot;Load Chunks&quot; 1 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Chunks&quot; for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Metadata chunk loaded with ExifTool has no data
digikam.metaengine: Loading metadata with &quot;No Backend&quot; backend from &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail from &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; ( &quot;image&quot; )
digikam.general: Trying to get thumbnail with Exiv2 for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail with DImg preview for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with libraw for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.metaengine: Cannot load metadata with Exiv2:  (Error # 11 :  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf: The file contains data of an unknown image type&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; : &quot;QIMAGE&quot; file identified
digikam.dimg.qimage: Can not load &quot; &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; &quot; using DImg::DImgQImageLoader!
digikam.dimg.qimage: Error message from loader: &quot;Unable to read image data&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; : Unknown image format !!!
digikam.general: mimetype =  &quot;XCF&quot;  ext =  &quot;XCF&quot;
digikam.general: Cannot create thumbnail for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Thumbnail is null for  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf  (Error # 11 :  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf: The file contains data of an unknown image type&quot;
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool &quot;Load Chunks&quot; &quot;-TagsFromFile /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf -all:all -o -.exv&quot;
digikam.general: Event is dispatched through a passive pop-up
QLayout: Attempting to add QLayout &quot;&quot; to QWidget &quot;&quot;, which already has a layout
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Chunks&quot; with elasped time (ms): 10
digikam.metaengine: EXV chunk size: 0
digikam.metaengine: ExifTool parsed command for action &quot;Load Chunks&quot; 1 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Chunks&quot; for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Metadata chunk loaded with ExifTool has no data
digikam.metaengine: Loading metadata with &quot;No Backend&quot; backend from &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Cancel Main Thread
digikam.general: Trying to get thumbnail from &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; ( &quot;image&quot; )
digikam.general: Cancel Main Thread
digikam.general: Trying to get thumbnail with Exiv2 for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail with DImg preview for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with libraw for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.metaengine: Cannot load metadata with Exiv2:  (Error # 11 :  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf: The file contains data of an unknown image type&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; : &quot;QIMAGE&quot; file identified
digikam.dimg.qimage: Can not load &quot; &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; &quot; using DImg::DImgQImageLoader!
digikam.dimg.qimage: Error message from loader: &quot;Unable to read image data&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; : Unknown image format !!!
digikam.general: mimetype =  &quot;XCF&quot;  ext =  &quot;XCF&quot;
digikam.general: Cannot create thumbnail for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Thumbnail is null for  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
&quot;Not supported&quot;
&quot;Not supported&quot;
&quot;Not supported&quot;
&quot;Not supported&quot;
digikam.metaengine: ExifTool &quot;Load Metadata&quot; &quot;-json -G:0:1:2:4:6 -l /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf  (Error # 11 :  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf: The file contains data of an unknown image type&quot;
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool &quot;Load Chunks&quot; &quot;-TagsFromFile /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf -all:all -o -.exv&quot;
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Chunks&quot; with elasped time (ms): 7
digikam.metaengine: EXV chunk size: 0
digikam.metaengine: ExifTool parsed command for action &quot;Load Chunks&quot; 1 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Chunks&quot; for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Metadata chunk loaded with ExifTool has no data
digikam.metaengine: Loading metadata with &quot;No Backend&quot; backend from &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: Metadata loading with Exiv2 took 21 ms ( false )
digikam.metaengine: ExifTool complete command for action &quot;Load Metadata&quot; with elasped time (ms): 13
digikam.metaengine: ExifTool Json map size: 24
digikam.metaengine: ExifTool parsed command for action &quot;Load Metadata&quot; 23 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Metadata&quot; for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; : &quot;QIMAGE&quot; file identified
digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf  (Error # 11 :  &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf: The file contains data of an unknown image type&quot;
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool &quot;Load Chunks&quot; &quot;-TagsFromFile /home/mn/test-digikam/test-simplebackground-16bitfloat.xcf -all:all -o -.exv&quot;
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Chunks&quot; with elasped time (ms): 11
digikam.metaengine: EXV chunk size: 0
digikam.metaengine: ExifTool parsed command for action &quot;Load Chunks&quot; 1 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Chunks&quot; for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Metadata chunk loaded with ExifTool has no data
digikam.metaengine: Loading metadata with &quot;No Backend&quot; backend from &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.dimg.qimage: Can not load &quot; &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; &quot; using DImg::DImgQImageLoader!
digikam.dimg.qimage: Error message from loader: &quot;Unable to read image data&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot; : Unknown image format !!!
digikam.general: Cannot load image for &quot;/home/mn/test-digikam/test-simplebackground-16bitfloat.xcf&quot;
digikam.general: d-&gt;image is NULL
digikam.general: d-&gt;image is NULL
digikam.general: d-&gt;image is NULL
&quot;Not supported&quot;
digikam.metaengine: ExifTool &quot;Load Metadata&quot; &quot;-json -G:0:1:2:4:6 -l /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf  (Error # 11 :  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf: The file contains data of an unknown image type&quot;
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool &quot;Load Chunks&quot; &quot;-TagsFromFile /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf -all:all -o -.exv&quot;
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Chunks&quot; with elasped time (ms): 10
digikam.metaengine: EXV chunk size: 0
digikam.metaengine: ExifTool parsed command for action &quot;Load Chunks&quot; 1 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Chunks&quot; for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Metadata chunk loaded with ExifTool has no data
digikam.metaengine: Loading metadata with &quot;No Backend&quot; backend from &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: Metadata loading with Exiv2 took 24 ms ( false )
digikam.metaengine: ExifTool complete command for action &quot;Load Metadata&quot; with elasped time (ms): 13
digikam.metaengine: ExifTool Json map size: 24
digikam.metaengine: ExifTool parsed command for action &quot;Load Metadata&quot; 23 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Metadata&quot; for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; : &quot;QIMAGE&quot; file identified
digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf  (Error # 11 :  &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf: The file contains data of an unknown image type&quot;
digikam.metaengine: Check ExifTool availability: true
digikam.metaengine: ExifTool &quot;Load Chunks&quot; &quot;-TagsFromFile /home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf -all:all -o -.exv&quot;
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Chunks&quot; with elasped time (ms): 11
digikam.metaengine: EXV chunk size: 0
digikam.metaengine: ExifTool parsed command for action &quot;Load Chunks&quot; 1 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Chunks&quot; for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.metaengine: Metadata chunk loaded with ExifTool
digikam.metaengine: Metadata chunk loaded with ExifTool has no data
digikam.metaengine: Loading metadata with &quot;No Backend&quot; backend from &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.dimg.qimage: Can not load &quot; &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; &quot; using DImg::DImgQImageLoader!
digikam.dimg.qimage: Error message from loader: &quot;Unable to read image data&quot;
digikam.dimg: &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot; : Unknown image format !!!
digikam.general: Cannot load image for &quot;/home/mn/test-digikam/test-_JUL0025-RT16bitfloat-2.xcf&quot;
digikam.general: d-&gt;image is NULL
digikam.general: d-&gt;image is NULL
digikam.general: d-&gt;image is NULL
&quot;Not supported&quot;
&quot;Not supported&quot;
digikam.metaengine: ExifTool &quot;Load Metadata&quot; &quot;-json -G:0:1:2:4:6 -l /home/mn/test-digikam/_JUL0025-RT16bitfloat-2.tif&quot;
digikam.metaengine: Loading metadata with &quot;Exiv2&quot; backend from &quot;/home/mn/test-digikam/_JUL0025-RT16bitfloat-2.tif&quot;
digikam.general: Metadata loading with Exiv2 took 2 ms ( true )
digikam.general: &quot;Standard Exif Tags&quot; decoding took 4 ms ( false )
digikam.general: &quot;MakerNote Exif Tags&quot; decoding took 1 ms ( false )
digikam.general: &quot;IPTC Records&quot; decoding took 0 ms ( true )
digikam.general: &quot;XMP Schema&quot; decoding took 0 ms ( true )
digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed
digikam.metaengine: ExifTool complete command for action &quot;Load Metadata&quot; with elasped time (ms): 92
digikam.metaengine: ExifTool Json map size: 258
digikam.metaengine: ExifTool parsed command for action &quot;Load Metadata&quot; 183 properties decoded
digikam.metaengine: ExifTool complete &quot;Load Metadata&quot; for &quot;/home/mn/test-digikam/_JUL0025-RT16bitfloat-2.tif&quot;
digikam.dimg: &quot;/home/mn/test-digikam/_JUL0025-RT16bitfloat-2.tif&quot; : &quot;TIFF&quot; file identified
digikam.metaengine: Loading metadata with &quot;Exiv2&quot; backend from &quot;/home/mn/test-digikam/_JUL0025-RT16bitfloat-2.tif&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2213814</commentid>
    <comment_count>1</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2023-03-04 11:35:32 +0000</bug_when>
    <thetext>The XCF image loader is part of the KImageFormats plugins, which we at digiKam do not develop.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2214468</commentid>
    <comment_count>2</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2023-03-06 22:33:08 +0000</bug_when>
    <thetext>Mirco you did some work on the xcf code.

Would you have some time to look at this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2214569</commentid>
    <comment_count>3</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2023-03-07 06:49:31 +0000</bug_when>
    <thetext>Since we got the same bug report about supporting float16 (half float) for our TIFF loader, here maybe the function to read and convert float16 as a help. The basic function comes from the Adobe DNG-SDK.

https://invent.kde.org/graphics/digikam/-/blob/master/core/dplugins/dimg/tiff/dimgtiffloader_load.cpp#L951

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2214571</commentid>
    <comment_count>4</comment_count>
    <who name="Mirco Miranda">mircomir</who>
    <bug_when>2023-03-07 06:53:31 +0000</bug_when>
    <thetext>(In reply to Albert Astals Cid from comment #2)
&gt; Mirco you did some work on the xcf code.
&gt; 
&gt; Would you have some time to look at this?

The Qt plugin supports xcf specs up to version 11 and the files in question are version 12. We have a merge request to add this functionality but it has other problems and consequently it breaks the tests. I tested the MR (https://invent.kde.org/frameworks/kimageformats/-/merge_requests/108) and some generated images are not correct (mainly related to alpha blending) .
Adding support to version 12 requires in-depth knowledge of the XCF format which I don&apos;t have.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2214572</commentid>
    <comment_count>5</comment_count>
    <who name="Mirco Miranda">mircomir</who>
    <bug_when>2023-03-07 06:55:12 +0000</bug_when>
    <thetext>(In reply to Maik Qualmann from comment #3)
&gt; Since we got the same bug report about supporting float16 (half float) for
&gt; our TIFF loader, here maybe the function to read and convert float16 as a
&gt; help. The basic function comes from the Adobe DNG-SDK.
&gt; 
&gt; https://invent.kde.org/graphics/digikam/-/blob/master/core/dplugins/dimg/
&gt; tiff/dimgtiffloader_load.cpp#L951

Recent Qts also have the type qfloat16 and I just used that to read TIFFs :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2214573</commentid>
    <comment_count>6</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2023-03-07 07:22:18 +0000</bug_when>
    <thetext>Thanks for pointing to qfloat16.

Maik</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2219494</commentid>
    <comment_count>7</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2023-03-31 14:15:48 +0000</bug_when>
    <thetext> I see KImageFormats works fine with .psd proprietary Adobe format. This leads people to think that it is difficult to work professionally with free image editing software, Gimp ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2219540</commentid>
    <comment_count>8</comment_count>
    <who name="Mirco Miranda">mircomir</who>
    <bug_when>2023-03-31 17:21:46 +0000</bug_when>
    <thetext>(In reply to maderios from comment #7)
&gt;  I see KImageFormats works fine with .psd proprietary Adobe format. 

Nobody has it with GIMP. The PSD plugin works well because I work in large format digital printing and everyone uses Photoshop. I maintain two PSD readers: the one for the company I work for (it&apos;s not a qt plugin) and the KDE Qt plugin (for fun).

I would also like to fix the XCF plugin but no promises. For now, I&apos;ve only looked at the specs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2234630</commentid>
    <comment_count>9</comment_count>
    <who name="maderios">leoutation</who>
    <bug_when>2023-06-04 10:07:48 +0000</bug_when>
    <thetext>A hope that seems dead :(
https://invent.kde.org/frameworks/kimageformats/-/merge_requests/108#note_693028</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2246418</commentid>
    <comment_count>10</comment_count>
    <who name="Mirco Miranda">mircomir</who>
    <bug_when>2023-08-14 08:43:05 +0000</bug_when>
    <thetext>(In reply to maderios from comment #9)
&gt; A hope that seems dead :(
&gt; https://invent.kde.org/frameworks/kimageformats/-/merge_requests/
&gt; 108#note_693028

I made some changes to Martin&apos;s code to fix the most obvious problems and made a new MR (https://invent.kde.org/frameworks/kimageformats/-/merge_requests/166).

Please try it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2361033</commentid>
    <comment_count>11</comment_count>
    <who name="Mirco Miranda">mircomir</who>
    <bug_when>2024-09-30 05:52:44 +0000</bug_when>
    <thetext>I consider the problem solved. For problems with the future GIMP 3, please refer to the specific bug report (https://bugs.kde.org/show_bug.cgi?id=491795).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>