2000.01.29 01:15 "tiff2ps: G4 compression in PostScript]", by Paul Kaiser
I have been investigating the G4 compression issue intensely for the past week.
Adobe Acrobat will create a PDF using G4 compression for monochrome images if so requested. Then, if you export that PDF as PostScript, the image still retains G4 compression and uses the /CCITTFaxDecode filter in the PostScript code.
I am therefore using such a PDF exported as PS to compare. The PDF/PS was created from a bitmap TIF, and the same bitmap TIF with G4 compression is then compared.
When I compare the image data in the PS file to the actual image data from the G4 compressed TIF, they are VERY similar. However: -- Every now and then there is extra data in the TIF file compared to the data in the PS file.
I cannot figure out what extra data is written in the TIF file as compared to the bitmap data written in the PS file. The G4 specs from ITU specify that there may be some padding at the End of the transmission, but that doesn't seem to be the problem, as the observed differences are not all at the end of the file.
Anyway, If I figure anything out, I'll let the list know. I hope we can crack this one soon; it is very important to me!