|
womble -> RE: Center for all browser settings (9/25/2009 16:39:53)
|
Aw, go on Dave, tell us about pngs!.....Pleeeeeeassseeee! [:D] [sm=lol.gif] PNGs (Portable Network Graphics) - like jpegs, best used for photographic images and complex images with lots of variations of colour. What's the difference between JPEG and PNG? (avoiding the highly technical explanation) like JPEGs, PNGs are a compressed image format, but unlike JPEGs they're "lossless," so you don't lose any data - it's just encoded in a more efficient way (don't ask me to explain that, because last time I had to do that was for a university assignment, and I almost lost the will to live half way through [:D]). With JPEGs, if they're compressed too much, images can get a little smudgy (not a technical term [:D]) and you can get stray pixels cropping up in unwanted places. The main advantage of PNGs over the JPEG format is that unlike JPEGs, which don't support transparency, the PNG format does support transparency, and also partial transparency. With GIF images you're limited to a maximum of 256 colours in each image (hence they're not much use for photos), whereas with JPEG and PNG, both support up to 16 million colours, so allow a lot more sutble shading and variations in colour. A PNG image can be 10 to 30% more compressed than a GIF image, but images compressed with PNG don't compress as much as JPEGs do. PNGs are perfect really for photographic images where you also need areas of transparency, but they can also be useful for images with fewer colours, images that in years gone by would have probably usesd the GIF format. As an example, a site I'm currently working on has an image map, and the map has quite a few icons on it. I've attached an image with three versions of the same icon. All started out as a PNG image. On the left is the icon saved as a GIF and you can see the shading around the base of the rose, which is partially transparent in the orginal image, has disappeared (GIF doesn't support partial transparency). The middle image is the icon saved as a JPEG, and if you look closely you'll see areas of pixellation on both the the shading at the base of the stem, and on the petals of the rose. The original PNG image is on the right. [image]local://upfiles/14943/7681BAA2905B4C6DA2C7B6DC7AE2035E.jpg[/image]
|
|
|
|