I suppose I might as well throw this up here as well, just on the off-chance that any developer-type friends have seen the image manipulation symptoms before. We're doing something that involves converting PDF pages to images on the fly using the PDFBox library, but certain images that look perfectly all right embedded in the PDF come out a bit... wonky. For example:

I think that I'm quite close to identifying what's wrong, and after analyzing the differences in how two libraries handle the colour models and spaces of PNG-encoded images, I have managed to produce this.

Never let it be said that my work doesn't have a noticeable effect.

I think that I'm quite close to identifying what's wrong, and after analyzing the differences in how two libraries handle the colour models and spaces of PNG-encoded images, I have managed to produce this.

Never let it be said that my work doesn't have a noticeable effect.
no subject
Date: 2011-03-12 04:04 am (UTC)If I had to add my one-and-a-half cents, it'd be that PNGs can use several types of compression, each based on the difference between any given pixel and the ones that preceded it... it looks like this program might just be mistaken about which type of compression was used?
no subject
Date: 2011-03-12 04:31 am (UTC)I have a separate library that does it better, so in theory all I have to do is find out exactly what that library does better and repair the source of PDFBox to match... but the methods they choose to drag the image out of the PDF are so distinct from each other in the first place that it's hard to translate them.
no subject
Date: 2011-03-12 08:22 am (UTC)no subject
Date: 2011-03-12 09:47 am (UTC)It does look similar to images I see in the SEM for samples that are charging. This won't help you at all as it is less of a software issue and more of the scan rate on a sample that is unable to lose localised charing up with electrons.
no subject
Date: 2011-03-12 02:33 pm (UTC)no subject
Date: 2011-03-12 02:41 pm (UTC)no subject
Date: 2011-03-12 04:30 pm (UTC)no subject
Date: 2011-03-12 07:52 pm (UTC)D.F.
no subject
Date: 2011-03-12 08:15 pm (UTC)no subject
Date: 2011-03-13 01:10 am (UTC)no subject
Date: 2011-03-13 01:13 am (UTC)