www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > Graphics

    Graphics Discussion and technical support for creating and editing graphics for the web.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 11-24-2002, 09:39 PM
    tdtaylor tdtaylor is offline
    Registered User
     
    Join Date: Nov 2002
    Location: Rapid City, SD
    Posts: 14
    PNG and Web Design

    Does anyone know of any pitfalls for using PNG's on web pages? Also, how do they differ from the ever-popular GIF format? I know that both support transparency, and I know that both load faster than JPG. Also, I have been informed that PNG is recognized by all browsers, though the format isn't used as widely as GIF and JPG.

    Any comments or suggestions?
    __________________
    Thanks!
    Tricia Taylor
    Reply With Quote
      #2  
    Old 11-25-2002, 06:04 AM
    Rick Bull's Avatar
    Rick Bull Rick Bull is offline
    Registered User
     
    Join Date: Nov 2002
    Location: England
    Posts: 275
    PNG is a great format. You can have alpha transparency (so proper shadows and the like, blending into whatever colour the background is (although IE doesn't support it )), gamma support (so it looks the right colour on other platforms like Mac), better interlacing (you see a "preview" of the image faster, and it updates more often), true colour and lossless. Probably some more that I can't remember right now. Browser support is pretty good too. NS 4.x supports it (although has some bugs with transparency). I use pretty much only PNG.
    __________________
    http://www.rickbull.co.uk/
    Help get full alpha-transparency in Internet Explorer - probably won't help, but worth a try
    Reply With Quote
      #3  
    Old 11-25-2002, 06:53 PM
    jeffmott's Avatar
    jeffmott jeffmott is offline
    Adrenalin Junkie
     
    Join Date: Nov 2002
    Location: NY, USA
    Posts: 736
    Quote:
    and I know that both load faster than JPG
    You should not characterize this as a general rule. JPEG will better compress images with many changing colors (real life pictures, gradients, etc.). GIF and PNG are better at compressing images made of areas of solid colors. PNG is, however, most certainly a better format than GIF.
    Reply With Quote
      #4  
    Old 11-25-2002, 07:15 PM
    tdtaylor tdtaylor is offline
    Registered User
     
    Join Date: Nov 2002
    Location: Rapid City, SD
    Posts: 14
    Thanks, guys. Most helpful, indeed. I don't know that I will be dealing much with transparency if I don't have to, especially with .png. If I need transparency, I will most likely rely on .gif images to help me with that because I know I can trust it with the browsers.

    However, I do believe I will try using .png for some backgrounds and other images that contain a large area of one color.

    Again, thanks a bunch!
    __________________
    Thanks!
    Tricia Taylor
    Reply With Quote
      #5  
    Old 11-28-2002, 06:08 AM
    Klyve1's Avatar
    Klyve1 Klyve1 is offline
    Webchap
     
    Join Date: Nov 2002
    Location: Hove, UK
    Posts: 161
    PNG will become a much better supported format now that GIF compression is no longer free.
    Reply With Quote
      #6  
    Old 11-28-2002, 06:34 AM
    Rick Bull's Avatar
    Rick Bull Rick Bull is offline
    Registered User
     
    Join Date: Nov 2002
    Location: England
    Posts: 275
    I thought that never happened, and it was just talk? Hopefully more browsers will support MNG too, so we can have animated PNGs. Currently I think Mozilla is the only browser that supports it natively.
    __________________
    http://www.rickbull.co.uk/
    Help get full alpha-transparency in Internet Explorer - probably won't help, but worth a try
    Reply With Quote
      #7  
    Old 11-28-2002, 06:45 AM
    Klyve1's Avatar
    Klyve1 Klyve1 is offline
    Webchap
     
    Join Date: Nov 2002
    Location: Hove, UK
    Posts: 161
    I've not seen any MNG files but I was getting my info re GIFs from GNU related sites like http://www.gnu.org/philosophy/gif.html and http://lpf.ai.mit.edu/Patents/Gif/Gif.html
    Reply With Quote
      #8  
    Old 11-28-2002, 08:07 AM
    Stefan Stefan is offline
    HTML-Mushroom
     
    Join Date: Nov 2002
    Posts: 984
    Quote:
    Originally posted by tdtaylor
    If I need transparency, I will most likely rely on .gif images to help me with that because I know I can trust it with the browsers.
    GIF only support 1 bit transparency (transparent or not). 1-bit transparency works just fine crossbrowser also with PNG.

    However PNG can allow you to use for advanced 8bit transparency, and this is what causes buggy IE to stumble and fall. Mozilla as well as Opera has supported 8-bit transparancy for years now.

    In short, there is absolutely nothing to gain by sticking to GIF.
    __________________
    // Stefan Huszics
    Reply With Quote
      #9  
    Old 12-31-2007, 12:38 AM
    bpm125 bpm125 is offline
    Registered User
     
    Join Date: Sep 2003
    Posts: 3
    Quote:
    Originally Posted by Klyve1
    PNG will become a much better supported format now that GIF compression is no longer free.
    What do you mean that .gif compression is now no longer free? Are we gonna have to pay extra to create .gif files now? Are .gif files no longer being used?
    Reply With Quote
      #10  
    Old 12-31-2007, 03:29 AM
    Klyve1's Avatar
    Klyve1 Klyve1 is offline
    Webchap
     
    Join Date: Nov 2002
    Location: Hove, UK
    Posts: 161
    Quote:
    Originally Posted by bpm125
    What do you mean that .gif compression is now no longer free? Are we gonna have to pay extra to create .gif files now? Are .gif files no longer being used?
    No, the owners of the .gif format now charge software makers a licence fee to use it in their products.

    As this topic is some 5 years old it obviously hasn't had any effect at all!
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    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

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


    All times are GMT -5. The time now is 04:24 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.