Sorry, I got a bit confused. I think the problem is that PDXObjectImage has a bug in that it doesn't write the TIFF correctly.
So for the example file, it extracts the TIFF as inverse (I tested by viewing in IrfanView). However that actually doesn't affect me, because I will use the image directly in the program. ________________________________ From: Patrick Jolliffe, AHK-IDS Sent: Monday, March 08, 2010 12:05 PM To: '[email protected]' Subject: Possible bug extracting TIFF Trying to use PDFBox (latest source from SVN) to extract TIFF from PDF (attached). All is pretty good, however TIFF colors seems to be inverse. I debugged a bit, and put in a fix that works for me: Changed the following section: if (decodeParms.getBoolean("BlackIs1", false)) { blackis1 = 1; } To the following: if (decodeParms.getBoolean("BlackIs1", true)) { blackis1 = 1; } Not sure if that is a valid fix, or if that breaks anything else. Let me know if you need any more details.

