[poppler] Using OpenJPEG for JPXStreams

Patrick Spendrin ps_ml at gmx.de
Sat Jun 7 07:53:07 PDT 2008

Albert Astals Cid schrieb:
> Hi, attached a patch that makes poppler use OpenJPEG[1] for JPX streams 
> (JPEG2000) instead of the internal decoder.
> What we win:
>  * Less code to maintain. Huzzah!
>  * Code that is easy to understand. Huzzah!
>  * Works with more PDF, for example works with the one at poppler bug 15629. 
> Huzzah!
>  * Seems to have less peak memory usage, for example massif reports a peak of 
> 33,445,880 bytes using internal decoder and the pdf of kde bug 157800 while 
> with the new code it reports a peak of 12,502,744 bytes. On the other hand 
> i'm not a massif expert so i may be doing something wrong. Half Huzzah!
>  * Seems somewhat faster. Half Huzzah!
* Requires another library on Windows. No Huzzah!
> That's 4 Huzzah! Not bad ;-)
> I'd like you to test the patch, as i just have 11 PDF using JPX streams.
> If noone finds any reason i should not commit this patch (like any PDF that 
> fails), i'll commit this to master git branch in a week.
I'll see if I can find a good way to get this library and will test that 
then. If you can leave it as it is I'd be glad;-).
> Albert
> [1] http://www.openjpeg.org/
> ------------------------------------------------------------------------
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler

web:                 http://windows.kde.org
mailing list:        kde-windows at kde.org
irc:                 #kde-windows (irc.freenode.net)

More information about the poppler mailing list