>what do you need? The image in any format (e.g. png), or the image in the 
>original JP2 compression?

Ideally the original JP2 compression.

>And if you're using ImageIOUtil.writeImage(), what is the parameter in suffix? 
>If it is JP2, then you'd need to have some plugin for it. 

jpx

>So it may be better to get the raw file, see in ExtractImages how we do it for 
>DCTFilter.

Will do.  To confirm, you mean this?

                        InputStream data = pdImage.createInputStream(JPEG);
                        IOUtils.copy(data, out);
                        IOUtils.closeQuietly(data);

Thank you!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to