Andreas,

look at the javadoc of PDXObjectImage: http://www.pdfbox.org/javadoc/org/pdfbox/pdmodel/graphics/xobject/PDXObjectImage.html

There you will find some methodes to work with the embedded pictures. Have a closer look at:

getColorSpace()

If this does not fit your needs, you will have to extract the image from the PDF and use normal graphic-libraries on the image to find out what you need.

Greetings,
Erik


Roeder, Andreas wrote:
Hello,

How can I find out if an image is black and white (no greyscale, no colors)?

Best Regards,

Andreas

Reply via email to