Difference between a TIFF file and Processing's TIFF file

An approach that I mentioned in another thread was to use JAI:

I didn’t test it much, though – not sure if it has color palette problems. I wonder how it compares with TwelveMonkeys.