Go Back   SitePoint Forums > Forum Index > Design Your Site > Web Page Design
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old Oct 5, 2004, 05:26   #1
ArticleBot
SitePoint Articles
 
ArticleBot's Avatar
 
Join Date: Apr 2001
Posts: 0
Article Discussion

This is an article discussion thread for discussing the SitePoint article, "GIF, JPG and PNG - What's the difference?"
ArticleBot is offline   Reply With Quote
Old Oct 5, 2004, 05:26   #2
Ekambaram C.S.
SitePoint Community Guest
 
Posts: n/a
For a layman I could grasp the essential difference between GIF and JPG.Now I know when and where to use these.
  Reply With Quote
Old Oct 26, 2004, 07:45   #3
Waitingforyou787
SitePoint Member
 
Join Date: Oct 2004
Location: Mt. Airy
Posts: 0
I wanted to know the difference.....You didn't really give me the exact answer. I want to be able to find it easily.
Waitingforyou787 is offline   Reply With Quote
Old Nov 19, 2004, 17:49   #4
daybreaker
SitePoint Community Guest
 
Posts: n/a
PNG doesn't support animations, but another format called MNG supports animations like GIF. But most web-browser doesn't support it... (see w3c)
  Reply With Quote
Old Nov 20, 2004, 10:42   #5
Phyllis Parkins
SitePoint Community Guest
 
Posts: n/a
some times my png and jpeg images have some white around the edges. I don't see this in photo shop but when I convert them to gif this annoying outline will show up. Any Ideas
  Reply With Quote
Old Nov 21, 2004, 11:54   #6
omgsteve
SitePoint Enthusiast
 
Join Date: Nov 2004
Location: Orange County
Posts: 97
jpg > gif > png , but if firefox was the default browser, it would be the other way around
omgsteve is offline   Reply With Quote
Old Nov 21, 2004, 18:46   #7
Egor
Non-Member
 
Egor's Avatar
 
Join Date: Jan 2004
Location: Melbourne, Australia
Posts: 8,131
Quote:
Originally Posted by Waitingforyou787
I wanted to know the difference.....You didn't really give me the exact answer. I want to be able to find it easily.
The answer is simple. Use whatever looks best for the graphic and has the smallest filesize.

Gif for 256 color or under images that must be crisp. Jpeg for photos, smooth transitions.
Egor is offline   Reply With Quote
Old Nov 22, 2004, 13:12   #8
Kadence
SitePoint Addict
 
Join Date: Nov 2004
Location: New Jersey
Posts: 302
PNG appears to be gaining popularity quite rapidly. Another example of how fast things spread on the web.
Kadence is offline   Reply With Quote
Old Feb 3, 2005, 19:02   #9
Anonymous
SitePoint Community Guest
 
Posts: n/a
WHEN SHOULD I USE PNG?
  Reply With Quote
Old Feb 8, 2005, 20:38   #10
Anonymous
SitePoint Community Guest
 
Posts: n/a
excellent
  Reply With Quote
Old Feb 9, 2005, 00:20   #11
Egor
Non-Member
 
Egor's Avatar
 
Join Date: Jan 2004
Location: Melbourne, Australia
Posts: 8,131
I see no immediate need to use pngs. There are all these claims that the file-size is smaller or 'can' be smaller, but I have yet to see it myself.

The only good use for them right now IMO is semi-transparent background tiles for things like menus, and interesting layout effects.
Egor is offline   Reply With Quote
Old Feb 9, 2005, 04:39   #12
xhtmlcoder
Robert Wellock
 
xhtmlcoder's Avatar
 
Join Date: Apr 2002
Location: A Maze of Twisty Little Passages
Posts: 1,740
PNG-8 is the default replacement/alternative for GIF depending upon the colours used and such the Ping will generally be smaller in file size though typically most graphics applications will use PNG-24 as default when saving *.png.
xhtmlcoder is offline   Reply With Quote
Old Mar 9, 2005, 12:41   #13
Darlene Pike
SitePoint Community Guest
 
Posts: n/a
You should remind people that the transparency in GIFs does not apply to the printed page, only for screen renderings. Some sites rely upon nice-looking printouts, so shouldn't rely upon the transparency of GIFs.
  Reply With Quote
Old Mar 17, 2005, 15:38   #14
Sammi
SitePoint Community Guest
 
Posts: n/a
This is a very useful article for students such as myself. Thanks very much for the information.
  Reply With Quote
Old Mar 27, 2005, 14:48   #15
X-Factor
SitePoint Zealot
 
Join Date: Dec 2004
Location: Canada
Posts: 119
The main diffrence is file size, and picture quality.
X-Factor is offline   Reply With Quote
Old Mar 31, 2005, 20:06   #16
Michael
SitePoint Community Guest
 
Posts: n/a
Great explanation of differing file formats. It might be helpful for us novices to also indicate what tools (programs) are used to first create and to then access each file type.
  Reply With Quote
Old Apr 1, 2005, 06:23   #17
Med
SitePoint Zealot
 
Med's Avatar
 
Join Date: Oct 2002
Location: The Netherlands
Posts: 136
Jpg files should be used for smooth transitions in photo's

Gif files should be used for line-art, like logo's

Png files kan be used for either photo's or lineart. The advantage is that it support alpha channels. You can have transperancy like gif images but without the annoying white borders, It's much more smooth. Alpha channels also mean the image can be semi-tranparent. But this isn't supported very well by IE. (this all goes for png-24, not for png-8)
Med is offline   Reply With Quote
Old Apr 1, 2005, 14:05   #18
Houdas
SitePoint Member
 
Houdas's Avatar
 
Join Date: Feb 2005
Location: Czech Republic
Posts: 16
I never used PNGs on a webpage (mainly because IE doesn't support transparency). JPGs and GIFs are enough for me
Houdas is offline   Reply With Quote
Old Apr 1, 2005, 14:10   #19
someonewhois
SitePoint Wizard
 
someonewhois's Avatar
 
Join Date: Jan 2002
Location: Canada
Posts: 7,385
I use PNG's for vectors (Macromedia Fireworks) and for saving screenshots from Paint. When you save a jpeg in paint, it goes all weird, and a gif screws the colors up (paint uses default palletes, unlike Photoshop and the likes which chose the 256 colors you're actually using it). Paint manages to create pngs that are loseless and look good, while still being small.

They don't talk about the major copyright issues with GIF. They mentioned it when they were talking about PNG, but they didn't actually ellaborate on it. GIF is like mp3, and PNG is like ogg. Gif/mp3 are both widely used, and widely accepted, but they have copyrights on them. Things like the GD Library at one point had to remove GIF due to copyright issues -- since then, it's been reinstated, but still. PNG and OGG have similar principals. They both are copyright-free, they both work BETTER than Gif/mp3 (ogg has no loss, and goes smaller, mp3 has loss and not as small), yet due to when they were introduced, they aren't widely used.
someonewhois is offline   Reply With Quote
Old Apr 2, 2005, 01:56   #20
Talkfreelance
SitePoint Guru
 
Join Date: Jan 2005
Location: London, England
Posts: 630
Generally Gif. are used for smaller graphics with less colours, they contain a small file size, backgrounds, plain colours etc should be gifs. Jpgs are used for high resolution, colour photos or images.
Talkfreelance is offline   Reply With Quote
Old May 27, 2005, 04:10   #21
Dan100
SitePoint Community Guest
 
Posts: n/a
I don't know why anyone would still chose to use GIF. PNG is much smaller.
  Reply With Quote
Old May 27, 2005, 08:33   #22
passion8
SitePoint Member
 
Join Date: May 2005
Location: Europe
Posts: 20
Consider reading this:

http://www.w3.org/QA/Tips/png-gif
passion8 is offline   Reply With Quote
Old Jun 11, 2005, 16:51   #23
Consider-This
Non-Member
 
Consider-This's Avatar
 
Join Date: Nov 2004
Location: New Mexico
Posts: 354
I think this is a great article because beginners like me don't have instant knowledge about these things, and testing the difference takes a long time... plus, I was never entirely certain about my results because of my tendency to forget precisely what I did, so that things aren't ultimately all oranges, or all apples.

Thank you.
Consider-This is offline   Reply With Quote
Old Jun 30, 2005, 02:25   #24
RodneyB
SitePoint Member
 
Join Date: Jun 2005
Location: California
Posts: 2
A nice addition to the article would be to state what browsers can show PNG files by default and which can't (something I always wonder about when thinking of using PNGs)
RodneyB is offline   Reply With Quote
Old Jun 30, 2005, 03:14   #25
xhtmlcoder
Robert Wellock
 
xhtmlcoder's Avatar
 
Join Date: Apr 2002
Location: A Maze of Twisty Little Passages
Posts: 1,740
Most graphical browsers built this century can view PNG it's mainly the Alpha Transparency of PNG-24 that MSIE cannot deal with though it will cope with PNG-8 or binary transparency.
xhtmlcoder is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 14:43.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved