[poppler] Using OpenJPEG for JPXStreams

Albert Astals Cid aacid at kde.org
Sat Jun 7 07:57:38 PDT 2008


A Dissabte 07 Juny 2008, Patrick Spendrin va escriure:
> 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!

Does not require anything, you can still use the old code.

And the library seems to build on windows, its full of *.dsp, *.dsp and 
there's even a CMakeLists.txt there.

Albert

>
> > 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
>
> regards
> Patrick
>
> > [1] http://www.openjpeg.org/
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > poppler mailing list
> > poppler at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/poppler




More information about the poppler mailing list