About libtiff

Julien Nabet serval2412 at yahoo.fr
Tue Apr 19 09:30:07 UTC 2022


Hello,

I noticed some bugs about dealing with TIFF images (see 
https://bugs.documentfoundation.org/show_bug.cgi?id=126152 for the meta).

According to https://en.wikipedia.org/wiki/TIFF, TIFF is quite complex, 
I quote:

"TIFF is a complex format, defining many tags of which typically only a 
few are used in each file. This led to implementations supporting very 
varying subsets of the format, a situation that gave rise to the joke 
that TIFF stands for /Thousands of Incompatible File Formats/.".

So in https://gerrit.libreoffice.org/c/core/+/133108, I wondered if we 
could use Libtiff. Of course asTomaž indicated it'll need lots of work. 
However Mike pointed out Luboš' commit about Webp to take example

https://cgit.freedesktop.org/libreoffice/core/commit/?id=60eaa424c5e213f31227008e1ed66a646491a360 
("support for the WebP image format (tdf#114532 
<https://bugs.documentfoundation.org/show_bug.cgi?id=114532>)") which 
can be a start.

But before this, is libtiff license compatible?

I mean, I retrieved source code of libtiff and m4/acinclude.m4 indicates 
(from line 192):

dnl   This program is free software; you can redistribute it and/or 
modify it
dnl   under the terms of the GNU General Public License as published by the
dnl   Free Software Foundation; either version 2 of the License, or (at your
dnl   option) any later version.

If I remember well, GPL isn't sufficient, we also need LGPL, don't we?

Julien

PS : it's just a question for devs who would be interested in doing the 
porting, I wouldn't be able to do this myself.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20220419/39d9ee87/attachment.htm>


More information about the LibreOffice mailing list