...

View Full Version : png vs. jpg formats



loonatik
05-22-2003, 01:15 AM
png files are larger right? i see some sites that use png format, is it supposed to be of better quality or something?

wox3-iO
05-22-2003, 06:25 AM
I can't say I know alot about this subject, but I believe they are used with polls and so on. If I've understood them right, you are able to edit them via some PHP or ASP program...
Do correct me if this is not even close to the truth :)

mouse
05-22-2003, 06:46 AM
png is a good format, it's used in polls and dynamic apps because it can be created on the fly using php. Gifs can't as they require compuserve licenses. :rolleyes:

Different formats are good for different things; a png will be better than a gif generally, a jpg will always be best for photographic images. Png's are good where gradients are used I find, they support alpha gradients and stuff too but Internet Explorer fails to render these properly without extra code. :rolleyes:

BloodXero
05-22-2003, 04:59 PM
png and gif compression is lossless. but wif gif you only have the 8-bit 256 colors. jpg is by far not lossless. you can get lots of jpg artifacts and jagges. gif and jpg are best for normal webpage images but if you have something like a main-screen, large, complex, multicolored image that you want to look good use png.

AshleyQuick
05-22-2003, 08:21 PM
This is a great article that delineates between gif, jpeg and png.

http://www.devshed.com/Client_Side/Multimedia/Overview/page1.html

Hope it helps?

Difinity
05-23-2003, 02:49 AM
Another great thing about .png files is they import into flash better than .gif files, and maintain all transparency. Gif files have rough edges, and Jpegs don't do transparency at all.

whackaxe
05-23-2003, 07:20 AM
IE doesnt support PNG transparency unless you use a special behavior which requiers some lines of javascript, which is rubbish for loading times and usability. the compuserve copyright is such a laugh. on the windows gimp page, there is a download for the gif saver extension, and they tell you to only download it if you have compuserves permission or if their copyright doesnt ean anything in your country.

Difinity
05-23-2003, 03:39 PM
I simply import the file and use. Maybe you're not using MX, because CTRL + R imports a PNG w/ perfect transparencies... Even grads!

BloodXero
05-23-2003, 04:25 PM
if its something that needs transparency then use a gif. if you need a large image with multi colors then use gif pieces and position them for the transparency to avoid that stupid thing about PNG transparency in IE.

Roy Sinclair
05-23-2003, 05:02 PM
Originally posted by BloodXero
if its something that needs transparency then use a gif. if you need a large image with multi colors then use gif pieces and position them for the transparency to avoid that stupid thing about PNG transparency in IE.

Transparency is possible with PNG under IE. It's translucency and gamma which aren't properly supported.

But let's not rehash it, look at this thread instead: http://www.codingforums.com/showthread.php?s=&threadid=10098



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum