davidn: (Jam)
davidn ([personal profile] davidn) wrote2011-03-11 10:50 pm
Entry tags:

The Tree

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.

[identity profile] ravenworks.livejournal.com 2011-03-12 04:04 am (UTC)(link)
See, that first image is PRECISELY what I'm talking about when I say that there should be demoscene competitions to make procedural image files, because that is friggin' beautiful. <3

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?

[identity profile] ethelfleda.livejournal.com 2011-03-12 08:22 am (UTC)(link)
Duuuuuudeee... treeeeee...

[identity profile] kibet.livejournal.com 2011-03-12 09:47 am (UTC)(link)
Shame it is not more regular as it may have just needed some line syncing.

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.

[identity profile] pookatimes.livejournal.com 2011-03-12 02:33 pm (UTC)(link)
I've said it before and I'll say it again... it wasn't much to do with LSD.
kjorteo: A 16-bit pixel-style icon of (clockwise from the bottom/6:00 position) Celine, Fang, Sara, Ardei, and Kurt.  The assets are from their Twitch show, Warm Fuzzy Game Room. (Malfunction)

[personal profile] kjorteo 2011-03-12 04:30 pm (UTC)(link)
 

[identity profile] lupineangel.livejournal.com 2011-03-12 07:52 pm (UTC)(link)
That icon is perfect for this beyond words. :P

D.F.
kjorteo: A 16-bit pixel-style icon of (clockwise from the bottom/6:00 position) Celine, Fang, Sara, Ardei, and Kurt.  The assets are from their Twitch show, Warm Fuzzy Game Room. (Bulbasaur: Smug)

[personal profile] kjorteo 2011-03-12 08:15 pm (UTC)(link)
Thanks!

[identity profile] starfishchris.livejournal.com 2011-03-13 01:10 am (UTC)(link)
How bad do you have to be at Yellow to make your Pikachu break?
kjorteo: A 16-bit pixel-style icon of (clockwise from the bottom/6:00 position) Celine, Fang, Sara, Ardei, and Kurt.  The assets are from their Twitch show, Warm Fuzzy Game Room. (Malfunction)

[personal profile] kjorteo 2011-03-13 01:13 am (UTC)(link)
This is Pikachu's "I'm so disappointed in your ability as a trainer that I'm not even bothering to obeying Euclidean geometry at you anymore, let alone your stupid orders" face.