|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Articles
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?"
|
|
|
|
|
|
#2 |
|
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.
|
|
|
|
#3 |
|
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.
|
|
|
|
|
|
#4 |
|
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)
|
|
|
|
#5 |
|
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
|
|
|
|
#6 |
|
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
|
|
|
|
|
|
#7 | |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jan 2004
Location: Melbourne, Australia
Posts: 8,131
|
Quote:
Gif for 256 color or under images that must be crisp. Jpeg for photos, smooth transitions. |
|
|
|
|
|
|
#8 |
|
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.
|
|
|
|
|
|
#9 |
|
SitePoint Community Guest
Posts: n/a
|
WHEN SHOULD I USE PNG?
|
|
|
|
#10 |
|
SitePoint Community Guest
Posts: n/a
|
excellent
|
|
|
|
#11 |
|
Non-Member
![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#12 |
|
Robert Wellock
![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
|
|
#13 |
|
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.
|
|
|
|
#14 |
|
SitePoint Community Guest
Posts: n/a
|
This is a very useful article for students such as myself. Thanks very much for the information.
|
|
|
|
#15 |
|
SitePoint Zealot
![]() ![]() Join Date: Dec 2004
Location: Canada
Posts: 119
|
The main diffrence is file size, and picture quality.
|
|
|
|
|
|
#16 |
|
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.
|
|
|
|
#17 |
|
SitePoint Zealot
![]() ![]() 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) |
|
|
|
|
|
#18 |
|
SitePoint Member
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
![]() |
|
|
|
|
|
#19 |
|
SitePoint Wizard
![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#20 |
|
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.
![]() |
|
|
|
|
|
#21 |
|
SitePoint Community Guest
Posts: n/a
|
I don't know why anyone would still chose to use GIF. PNG is much smaller.
|
|
|
|
#22 |
|
SitePoint Member
Join Date: May 2005
Location: Europe
Posts: 20
|
|
|
|
|
|
|
#23 |
|
Non-Member
![]() ![]() ![]() 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. |
|
|
|
|
|
#24 |
|
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)
|
|
|
|
|
|
#25 |
|
Robert Wellock
![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 14:43.










Linear Mode
