Wow, I did not realize that if you resize .png's that they don't lose their detail. That is one of my erks about using .jpg's, because once you try to resize it even in a little bit, you can tell it has been resized.
This must explain why many friends of mine on the internet have begun to use .png's frequently ( I didn't realize that there were some very useful reasons to use .png's :) )
Thank you for the help, and for recommending Image::Magick! This information will prove to be useful as I am a graphics enthusiast as well as a programmer.
Andy Summers | [reply] |
Resizing in any format will lose detail!
However, a highly-compressed JPEG that looks OK in normal use will go very wrong very quick if you start manipulating it. The compression artifacts, just below your visibility threshhold originally, really mess things up.
Zoom in on a JPEG and you'll see the artifacts I'm talking about. It's called "scambled eggs" or "mosqueto legs".
—John
| [reply] |
JPEG was originally intended to compress photos, which are pretty noisy in high frequencies. The compression artifacts don't really show if you're compressing suitable images (most of your pr0n collection, for instance :-), but if you're dealing with images with sharp high-frequency detail (especially sharp edges, I find) you'll get a bunch of crap in the high band.
PNG, on the other hand, was designed as a replacement for GIF, and had to handle all sorts of sharp-edged, computer generated web content, so it don't do that. (Neither is vector-based, so if you zoom in far enough you'll naturally get a huge mess of pixels.) PNG also has great alpha-channel support, much better than GIF's "ignore this palette entry" crap.
--
:wq
| [reply] |
| [reply] |