Am 12.04.2015 um 17:53 schrieb Tilman Hausherr:
If the scanner output is a buffered image, and these are of type bitonal (very important!), then save them as TIF files. You can do this with java ImageIO, or (better) with ImageIOUtil.writeImage(). You will need the jai_imageio jar. Then load them with PDCcitt.

JBIG2 encoding isn't supported (only decoding). The format is somewhat risky anyway. (google for Xerox jbig2)

Here's an excerpt of our test code:

I corrected some typos in the text above.

If it doesn't work, you may have to copy your BufferedImage into one of TYPE_BYTE_BINARY. Then save that one as tiff.

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to