Preview of photo image resizing without CFMX8/Scorpio

I don’t have time this morning to do a full write-up on the image manipulation code I was talking about yesterday, but I hope to be able to get to it this afternoon. However, I wanted to show a quick preview of some photo manipulation that I whipped up in about 5 minutes this morning.

The first example is a PNG image from the NaNoWriMo Participant Icons page. This is a completely dynamic image, and was not done by hand:

Okay, so it’s not a photo. But still, I hope you can see that even line art resizes well.

Next up I looked for an image that was the worst possible image I could find for JPEG compression. Knowing that fine detail like hair is anathema to JPEG, I figured that one of my wife’s orangutan photos would drive the compressor crazy. So, I used this one:

This is the result:

Certainly you can see that the fine detail is a little smudged out. But, I also set the resulting compression to 90% so that I could get an image that was less than 40KiB. Had I gone higher, the quality would be similarly increased. Thus, the limiting factor here is the JPEG compression not the resizing or manipulating!

Any other tricks anyone wants to see before I get on with the show?

By Rick Osborne

I am a web geek who has been doing this sort of thing entirely too long. I rant, I muse, I whine. That is, I am not at all atypical for my breed.