Yes, I did. I confirm this by placing the following code in JBIG2Filter.java:

for ( int idx=0; idx < myStringArray.length; idx++){
  System.out.println( myStringArray[idx] );
}

This yields:

BMP
jpeg
WBMP
GIF
jpg
bmp
jbig2
JPG
wbmp
png
JBIG2
PNG
JPEG
gif

-KB


On Thu, 3 Feb 2011, Andreas Lehmkuehler wrote:

Hi,

Am 03.02.2011 02:49, schrieb Kenneth Berland:
Andreas,

I can't make pdfbox decompress jbig2 encoding images anymore. Do you have a
sample pdf and java code that works?

I had it working in September when I submitted the patch,
https://issues.apache.org/jira/browse/PDFBOX-81, but, for the life of me, I
don't know what has changed. I've tried with pdfbox-1.4.0 and my patches to
1.2.1. I'm thinking that my sample file is bad?
Did you add the ImageIO-plugin [1] to yout classpath?

BR
Andreas Lehmkühler

P.S.: Please use the mailing lists to discuss PDFBox topics.

[1] http://code.google.com/p/jbig2-imageio/

Reply via email to