SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Addict
    Join Date
    Dec 2007
    Posts
    206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PNG, JPG, or GIF images?

    I usually use PNG for most images on my sites since I seem to get the quality I want with the smallest size compared to other formats displaying the same quality. But, I've seen some threads about gamma differences when using PNGs so I don't know what to choose now.

    Which format do you use and why?

  2. #2
    SitePoint Zealot Mahz's Avatar
    Join Date
    Mar 2006
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sitepoint has a pretty informative article on the subject.

    http://www.sitepoint.com/article/gif...ts-difference/

  3. #3
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    I use PNGs that have been crushed with pngcrush or pngout.
    JPEGs for photos. Never touch GIFs anymore...
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  4. #4
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I sometimes use GIFs for IE6 when simple transpancy is needed.
    Happy ADD/ADHD with Asperger's

  5. #5
    SitePoint Addict
    Join Date
    Dec 2007
    Posts
    206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by logic_earth View Post
    I use PNGs that have been crushed with pngcrush or pngout.
    JPEGs for photos. Never touch GIFs anymore...
    What exactly does crushing the png files do?

  6. #6
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Makes them smaller, and removes the gamma problems.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  7. #7
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    In my opinion, the web can only move forward if designers stop using the outdated GIF format. It was outdated when it was under patent litigation. Its outdated now that the patent has expired. Unfortunately the patent didn't effectively kill the format due to bad judgement calls on the part of Microsoft.

    Yes, I know IE6 can't support alpha-transparent PNG natively but it will support simply layer transparency (same feature as in GIF files) and you can easily apply a javascript filter that allows DirectX to manipulate 24-bit PNG so they appear correctly. Browsers are even starting to support the Animated-PNG file format though that is minor since animated gifs are a crutch and shouldn't be used anyway.
    Wayne Luke
    ------------



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •