Comment 10 for bug 711061

Revision history for this message
Albert Astals Cid (aacid) wrote : Re: [MIR] libopenjpeg2

Ok, so some answers here:

Does libjpeg provide the same openjpeg does?
No, libjpeg is for regular jpeg and openjpeg is for jpeg2000 that has nothing to do with the first one other than the name

Can you provide an image that needs openjpeg?
No, but i can provide a pdf file that poppler needs openjpeg to be linked in to be renderer properly https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/881407/+attachment/2571595/+files/Manning-ExtJS_in_Action.pdf
Actually i had some images openjpeg opens and jasper does not, they are buried somewhere deep down in some kde mailing list if you really need them

Embedded tiff?
As far as i know it's just for windows developers convenience, they are only used if not found on your system. At least when compiling openjpeg 1.5 with cmake i get
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.3.4")
-- Your system seems to have a Z lib available, we will use it to generate PNG lib
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so
-- Your system seems to have a PNG lib available, we will use it
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so
-- Your system seems to have a TIFF lib available, we will use it
-- Found LCMS2: /usr/lib/x86_64-linux-gnu/liblcms2.so
-- Your system seems to have a LCMS2 lib available, we will use it

We already have jasper in main that is a jpeg2000 library?
Right, but poppler does not have code for jasper and jasper last release seems to be in 2007 and openjpeg is actively developed and released

Anymore thing you guys need answering?