#1 2008-05-15 17:14:30
- SoraCross
- Member

- Registered: 2007-02-09
- Posts: 136
- I've been thanked 0 times.
-
PNG or GIF?
So I am under the impression that PNG is better than GIF because it supports alpha transparency, and is compressed better. However, it seems that IE5 and 6 don't read PNG's transparency right, so I am wondering, which do you guys think is better?
SoraCross Development
"A website dedicated to bringing you high quality games and web designs."
[Review]
Offline
#2 2008-05-16 09:57:03
- Ryan_steyn
- Member

- From: South Africa, Port Elizabeth
- Registered: 2006-08-23
- Posts: 1665
- I've been thanked 25 times.
-
Re: PNG or GIF?
Until everybody in the world updates IE5 to recognize png images i am gonna stick with gif.
Png is much much much better IMHO but like many things in the computer world it is before its time.... or to late... who knows.
Funny thing is though, PNG files are the files used for images when exporting from... lets say - Corel Draw - to be used in microsoft office... kinda like a generic image file that just works. With that in mind, How the hell did microsoft not built the ability to read em in IE? ---- Conspiracy? Maybe not but it bladdy well should be 
Lalibela Game Reserve in malaria free South Africa
"Humans are by far the most fascinating creatures, in a universe with no boundaries and a world with so much unfound wonder we are the only entities capable of creating boredom"
Offline
#3 2008-05-16 10:13:12
- SoraCross
- Member

- Registered: 2007-02-09
- Posts: 136
- I've been thanked 0 times.
-
Re: PNG or GIF?
So I've found a few good ways to actually get around the IE5 and 6 PNG bug. I haven't tried any yet, but they both sound like they're good. If anyone would like I could post the links here.
That said, if these fixes work perfectly would there be any reason to still use GIF aside of animation?
SoraCross Development
"A website dedicated to bringing you high quality games and web designs."
[Review]
Offline
#4 2008-05-16 10:28:55
- Steven_A_S
- Member

- From: San Antonio, TX
- Registered: 2006-08-07
- Posts: 440
- I've been thanked 21 times.
-
Re: PNG or GIF?
I came up against the same problem as you when I started at my current location. .png files have much more flexibility than .gifs (allowing for higher color resolution), and are an open standard where the .gif standard was owned by Compuserve. So, I decided to use .pngs where I would have used .gifs, especially where I needed transparency; and it looked good... until I tried it in Internet Exploder (which at the time I wasn't checking regularly).
So, for the time being, I stick with .gif files (and checking IE6 for problems) until I see that most of our customers have moved away from IE6.
Offline
#5 2008-05-16 11:03:36
- Northie
- Moderator

- From: Yorkshire, UK
- Registered: 2006-08-19
- Posts: 2578
- I've been thanked 62 times.
-

Re: PNG or GIF?
There's no point trying to fix for IE5
IE6 does support 8-bit PNGs, so save as PNG-8, rather than just the default PNG-24 or -32
Offline
#6 2008-05-16 11:38:52
- Steven_A_S
- Member

- From: San Antonio, TX
- Registered: 2006-08-07
- Posts: 440
- I've been thanked 21 times.
-
Re: PNG or GIF?
Northie wrote:
IE6 does support 8-bit PNGs, so save as PNG-8, rather than just the default PNG-24 or -32
I wasn't aware that the 8 bit version worked, but after a quick test, I see it's so; though that does still limit one of pngs advantages (having high-color transparencies and partial transparencies)
Offline
#7 2008-05-19 03:25:40
- webmaker
- New member

- From: Port Macquarie
- Registered: 2008-05-19
- Posts: 1
- I've been thanked 0 times.
-
Re: PNG or GIF?
PNG is more trouble than its worth, as the result is often unpredictable on target browsers, so we only use gif or jpeg formats. By the sounds of things I'd be using jpeg for anything high colour or that needs better than gifs limited colour palette. (Which of course is limited by design!)
If you don't mind - it probably won't matter...
Offline
#8 2008-05-19 14:47:04
- MarkCCDC
- Moderator

- From: Deland, FL
- Registered: 2005-10-25
- Posts: 1257
- I've been thanked 20 times.
-

Re: PNG or GIF?
Of course, animation isn't limited to GIF anymore....
http://animatedpng.com/
Offline
#9 2008-05-20 01:20:45
- Ryan_steyn
- Member

- From: South Africa, Port Elizabeth
- Registered: 2006-08-23
- Posts: 1665
- I've been thanked 25 times.
-
Re: PNG or GIF?
Yeah but thats a givens, if you were really keen for a high res animation you could convert a bunch of jpg's into an avi which can be converted into an mpeg or whatever you can get to play online. I reckon there is still to much risk involved in using png at the moment. 
Lalibela Game Reserve in malaria free South Africa
"Humans are by far the most fascinating creatures, in a universe with no boundaries and a world with so much unfound wonder we are the only entities capable of creating boredom"
Offline
#10 2008-05-21 08:58:31
- MarkCCDC
- Moderator

- From: Deland, FL
- Registered: 2005-10-25
- Posts: 1257
- I've been thanked 20 times.
-

Re: PNG or GIF?
Ryan_steyn wrote:
Yeah but thats a givens, if you were really keen for a high res animation you could convert a bunch of jpg's into an avi which can be converted into an mpeg or whatever you can get to play online. I reckon there is still to much risk involved in using png at the moment.
Oh, yeah, its still gonna be a while before APNG's are used - but I love the idea and hope it takes off eventually. FF3 supports it, so I guess we'll see support starting with Internet Explorer 12....
Offline
#11 2008-05-21 09:17:01
- Ryan_steyn
- Member

- From: South Africa, Port Elizabeth
- Registered: 2006-08-23
- Posts: 1665
- I've been thanked 25 times.
-
Re: PNG or GIF?
MarkCCDC wrote:
FF3 supports it, so I guess we'll see support starting with Internet Explorer 12....
HAHAHAHAHAHAHHA Well that made my day
Yeah it is gonna be pretty nifty once it takes off, at the same time i am hoping that microsoft dumps IE and pays mozilla to use FF instead... everyone wins 
Lalibela Game Reserve in malaria free South Africa
"Humans are by far the most fascinating creatures, in a universe with no boundaries and a world with so much unfound wonder we are the only entities capable of creating boredom"
Offline
#12 2008-05-22 16:01:19
- Roxane
- Member

- From: South Africa
- Registered: 2006-07-21
- Posts: 263
- I've been thanked 7 times.
-
Re: PNG or GIF?
SoraCross wrote:
So I am under the impression that PNG is better than GIF because it supports alpha transparency, and is compressed better. However, it seems that IE5 and 6 don't read PNG's transparency right, so I am wondering, which do you guys think is better?
If you haven't come across this yourself, here's a nice fix that worked well for me...
http://thedesignspace.net/MT2archives/000103.html
Offline
#13 2008-05-23 02:21:56
- Northie
- Moderator

- From: Yorkshire, UK
- Registered: 2006-08-19
- Posts: 2578
- I've been thanked 62 times.
-

Re: PNG or GIF?
Roxane wrote:
SoraCross wrote:
So I am under the impression that PNG is better than GIF because it supports alpha transparency, and is compressed better. However, it seems that IE5 and 6 don't read PNG's transparency right, so I am wondering, which do you guys think is better?
If you haven't come across this yourself, here's a nice fix that worked well for me...
http://thedesignspace.net/MT2archives/000103.html
yeah, worked well for you.....
Be Warned
Code: css
DIV#yourDiv
{
background-image: none;
filter:
progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/yourImage.png,
sizingMethod='scale');
}
This code will break about 10% of IE6 computers. Even if your working version of IE is exactly the same as another some strange and unfindable bug will cause the entire computer to crash
Offline
#14 2008-06-11 22:53:42
- seolady
- Member

- From: USA
- Registered: 2008-06-11
- Posts: 11
- I've been thanked 0 times.
-
Re: PNG or GIF?
isnt PNG the largest file of the three? And between GIF and JPEG, i would recommend GIF if you would upload these images in the web. Why? because its is lighter and it displays the right web colors. Try to experiment, create an image then save it on both formats then upload. Be sure you know what the right color code (e.g. FFFFF) you used. Check the image on the browser then check the colors using a "color picker".
Offline
#15 2008-06-12 09:20:48
- Steven_A_S
- Member

- From: San Antonio, TX
- Registered: 2006-08-07
- Posts: 440
- I've been thanked 21 times.
-
Re: PNG or GIF?
Don't be too quick to lock in to just GIF format. GIF is great for symbols and illustrations where you're using limited numbers of colors and long runs of each color, but where you're using actual pictures, JPG is going to save much more space, even on higher quality settings. Your best bet is evaluating the image for each use and deciding which format will best serve you on a case by case basis.
Offline
#16 2008-06-12 09:58:45
- Ryan_steyn
- Member

- From: South Africa, Port Elizabeth
- Registered: 2006-08-23
- Posts: 1665
- I've been thanked 25 times.
-
Re: PNG or GIF?
Steven_A_S wrote:
Don't be too quick to lock in to just GIF format. GIF is great for symbols and illustrations where you're using limited numbers of colors and long runs of each color, but where you're using actual pictures, JPG is going to save much more space, even on higher quality settings. Your best bet is evaluating the image for each use and deciding which format will best serve you on a case by case basis.
Yip, i would never use a gif for anything more than 32 colors - and even thats pushing it. 256 is okay if you like the old dithered look though
Anything that needs to be 256 or higher should really be in jpg or else you will just be looking at rediculous file sizes for very poor quality.
Lalibela Game Reserve in malaria free South Africa
"Humans are by far the most fascinating creatures, in a universe with no boundaries and a world with so much unfound wonder we are the only entities capable of creating boredom"
Offline
#17 2008-06-12 20:44:27
- seolady
- Member

- From: USA
- Registered: 2008-06-11
- Posts: 11
- I've been thanked 0 times.
-
Re: PNG or GIF?
Oh what i meant was if the image is a logo, an icon, transparent background (but i guess PNG is better for transparency) i would choose GIF. However if it is a photograph (photographic images) then you dont want to lose some colors right? then choose JPEG. But of course both of you guys (Ryan & Steve) are definitely correct 
Offline
| Never |
- Sponsored Results
|
|