tool.pdf.Compress reads images with /Predictor incorrectly
Brought to you by:
phelps
If the original image has a /DecodeParams dictionary with a /Predictor, tool.pdf.Compress ignores this dictionary, thus rendering the image completely useless.
$ xpdf pts2p.pdf
$ java -cp Multivalent.jar tool.pdf.Compress pts2p.pdf
$ xpdf pts2p-o.pdf
image with /Predictor which exposes the bug