tif compression issue - SOLVED

leoutation at gmx.fr leoutation at gmx.fr
Tue Dec 19 19:22:54 GMT 2023


On 12/19/23 17:55, Gilles Caulier wrote:
> Hi,
>
> With this commit i add a debug trace to the console to see if
> compression is enabled or not in the codec.
>
> The message will be visible from Image Editor or BQM (common code).
>
> Note: i do not see any problem in the code as well.
>
> Best
>
> Gilles Caulier
I saw in debug log compression is not enabled, i deleted workflow, i
recreated one checking 'compression'. It works now. I think compression
was enabled only in 'queue setting' dialog box, not in workflow tool
settings (no way to know it)
Thanks for your help
Regards
>
> Le mar. 19 déc. 2023 à 17:01, <leoutation at gmx.fr> a écrit :
>>
>> On 12/19/23 15:54, Gilles Caulier wrote:
>>> Hi,
>>>
>>> Tiff codec is the same between Editor and BQM. Compression is Deflate
>>> if i remember.
>>>
>>> BQM TIFF settings are independent from Editor.
>>> You have the Queue default settings for TIFF when you process existing
>>> files without exporting to another format/another file.
>>> You have the BQM tiff export tool settings if you export to a new file
>>> (your case).
>>>
>>> The compression result must be the same between Editor and BQM. What
>>> happens if you turn off compression in the tiff export tool ? Does it
>>> compress ?
>> If i turn 'off' compression in  batch/BQM tiff export tool, i get 135 MB
>> tif file, exactly same with compression 'on'.
>> Compress tif setting doesn't work
>>>
>>> Bes
>>>
>>> Gilles Caulier
>>>
>>> Le mar. 19 déc. 2023 à 15:24, <leoutation at gmx.fr> a écrit :
>>>>
>>>> Hi
>>>> I convert many big png files to tif format with Digikam. I noticed tif
>>>> compression is not the same when i convert with batch tool and Digikam
>>>> editor. Tif compression is set everywhere in my preferences
>>>> Example
>>>> with digikam batch tool :  55.5 MB png -> 135 MB tif
>>>> with digikam editor:         55.5 MB png -> 60.9 MB tif
>>>> Compression with editor is better, batch conversion is unusable for me,
>>>> files are too big.
>>>> I'm wondering which kind tif compression is used in Digikam, LZW,
>>>> Deflate ? It could be a good thing to have the choice. 'Deflate' should
>>>> be the best. I use it with Gimp, compression is slower but files are smaller
>>>> Conditions: Arch Linux system, Digikam git
>>>>
>>>> --
>>>> Maderios
>>
>> --
>> Maderios
>>

--
Maderios



More information about the Digikam-users mailing list