tif compression issue

Gilles Caulier caulier.gilles at gmail.com
Tue Dec 19 16:55:41 GMT 2023


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

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
>


More information about the Digikam-users mailing list