Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 17th, 2004, 05:33 AM
hmbelal hmbelal is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 32 hmbelal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 20 m 6 sec
Reputation Power: 5
web design standards

Hi,
I'm need to web design and i'd like to know what format is best used for online graphics is it jpeg or gif? I've also been reading the PNG is now being used as the best format. Any input on this would be great.
Thanks,

Reply With Quote
  #2  
Old July 17th, 2004, 07:10 AM
the tree's Avatar
the tree the tree is offline
ub0r 7r0|| flam3r
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: Near enough to London
Posts: 483 the tree User rank is Corporal (100 - 500 Reputation Level)the tree User rank is Corporal (100 - 500 Reputation Level)the tree User rank is Corporal (100 - 500 Reputation Level)the tree User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 17 h 8 m 24 sec
Reputation Power: 7
Send a message via MSN to the tree
This depends, for small graphics such as headers and curved corners then use .gif becuase they have a small file size. for larger graphics such as a photo of your company then use .jpeg because it is better quality. If the whole point of the site is some particular image, say if your an artist or something then use .png because it is the best quality but beware becuase .png files are massive.

Reply With Quote
  #3  
Old July 17th, 2004, 09:54 PM
webguy's Avatar
webguy webguy is offline
Power User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Canada
Posts: 180 webguy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 13 sec
Reputation Power: 5
Send a message via AIM to webguy Send a message via Yahoo to webguy
well, I don't have any links on me but you can do a web search- google, to look up each format. Usually these types of websites also expand on pros and cons of usage.

Off the top of my head though, I can offer this info

jpeg, jpg
Use this format for photo quality images. If you have actual photos, save them as a jpeg. jpeg images are best suited for actual images, both over gif and png files. In my experience jpg can compress better and look better than a png image of equal size.

Gif
Gif images are useful still for cartoony type images. Where you don't need too many colors. Of if you have animations gif is the format you want to use. If the cartoony image is not animated consider using png for the file format, as png can often times compress smaller thana gif file can.

png
Png is a great format. You can use it for transparency, it can compress to a really small size. Often times images that look good in gif format can be compressed further in png format and still look better than a gif file could.

I can't think of anything else, but a google search should yield a wealth of info

Reply With Quote
  #4  
Old July 18th, 2004, 11:46 PM
SimonGreenhill's Avatar
SimonGreenhill SimonGreenhill is offline
(retired)
Dev Shed God 11th Plane (10000 - 10499 posts)
 
Join Date: Dec 2003
Location: The Laboratory
Posts: 10,101 SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)SimonGreenhill User rank is General 5th Grade (Above 100000 Reputation Level)  Folding Points: 4925 Folding Title: Novice Folder
Time spent in forums: 3 Months 3 Weeks 5 h 49 m 4 sec
Reputation Power: 1331
Facebook
[QUOTE ="the tree"] but beware becuase .png files are massive. [/QUOTE]

Er.. png files are very small, and compress much better than gifs & possibly jpegs*

One drawback of pngs is that older browsers may not support them. Internet Explorer is especially bad in that respect (what are the odds of IE crapping out?!?). Even the latest version of IE (6 SP 1 or whatever) don't support more advanced png features like alpha-blending and transparency.

Quick Summary:
1) If you need transparency, and care about IE users, stick with gif.
2) If you don't mind losing data on photos, use jpeg. (Note - "losing data" is not supposed to scare you here, it's just a consequence of the trade-off between file size and image quality).
3) If anyones going to be using your site on an old browser, stick with gif/jpeg. (I think "old browser" here means something like IE3/NN4.01 and if anyones still using these, they should be shot).
4) Otherwise use png, it is the best format.

Cheers,
Simon

*jpegs are lossy - basically, the save every N-th (2nd?) pixel and extrapolate between them when viewed. Pngs aren't lossy. Whether a jpeg is smaller than a png of any image comes down to how much data you want to lose from your jpeg.

Reply With Quote
  #5  
Old July 22nd, 2004, 11:08 PM
Jaeger Jaeger is offline
Stuff Doer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Location: Toronto, Canada
Posts: 96 Jaeger User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 43 m 45 sec
Reputation Power: 8
Just found this. Not a ton of info, but it sums up the GIF/PNG differences quite well.
http://www.w3.org/QA/Tips/png-gif

-Jaeger
__________________
Jaeger


Online DVD Rental Guide (Canada)

Last edited by Jaeger : July 22nd, 2004 at 11:23 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > web design standards


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway