Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Louisville, KY
    Posts
    281
    Thanks
    2
    Thanked 0 Times in 0 Posts

    whats up with png?

    I'm just now noticing a lot of people using the png format. I thought it was not supported by many browsers and it has a larger file size, but then I saw this:

    W3's info on png

    Why aren't more people using this format? Are there any negative consequences? Positive?

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Smaller images. Well supported.

    Basically every web browser except Internet Explorer for Windows supports it well enough for use within webpages.

    You can even hack around IE's crappy support with a filter too, but that can be inconvenient.

  • #3
    New Coder
    Join Date
    Oct 2002
    Location
    || Canada ||
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Basically every web browser except Internet Explorer for Windows supports it well enough for use within webpages.
    I guess I'm not quite clear on that one... But I have made web pages with PNG images and then used my IE to view that same page. It works. I've viewed that same page with IE 6 and lower. Anyhow, I'm going to read up on the link to those PNG pages you provided BroChris cause I'm not saying anyone is wrong on this one

    Mind you, I've had friends from England tell me they couldn't see the PNG's on that same page but as to what OS or browser, didn't ask.

  • #4
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    IE/Win can view pngs without alpha or gamma. But it does not support the very useful gamma correction nor the alpha layer (which basically means translucency).

  • #5
    New Coder
    Join Date
    Nov 2002
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    See http://www.libpng.org/pub/png/pngapbr.html (Scroll down to read more about support in IE or for a summary of browser support of png see http://www.libpng.org/pub/png/pngstatus.html#browsers

    Neil

  • #6
    New Coder
    Join Date
    Oct 2002
    Location
    || Canada ||
    Posts
    70
    Thanks
    0
    Thanked 0 Times in 0 Posts
    wonderful helpful stuff.. even though I never started this thread

  • #7
    Regular Coder
    Join Date
    Aug 2002
    Location
    Spain
    Posts
    420
    Thanks
    0
    Thanked 0 Times in 0 Posts
    A perfect solution to show png's alpha transparency in IE:

    http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
    Don't resist to assimilation. Billions of Borgs can't be wrong!

  • #8
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    Originally posted by Borgtex
    A perfect solution to show png's alpha transparency in IE:

    http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html
    Notice how I mentioned in my original post a hack with a filter?

    That is it, and it hardly does the job.

    Yay, I can now use png images inside <img/>, but more often than not I use them as background-image: url(myimage.png); which cannot be accomplished via this method.

  • #9
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    [QUOTE]Originally posted by jkd
    [B]Smaller images. Well supported.

    Basically every web browser except Internet Explorer for Windows supports it well enough for use within webpages.
    [QUOTE]

    what are you talking about, I use it all the time, and it works on even windows 98 with 4.0 ie as a browser
    Kris Hubby
    kwhubby site

  • #10
    New Coder
    Join Date
    Nov 2002
    Location
    Netherlands
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes, it works in IE, but not with the full 32 bit RGBA support, which is essentially why you'd want to use PNG's in the first place...

  • #11
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    oh, I like png because of its compresion methods, it dose not error diffusion as much as png dose, so its much clearer.
    Kris Hubby
    kwhubby site

  • #12
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You mean .gif?
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #13
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    .png works with IE? Funny, doesn't work with IE5 well.... I tried with a site with a lot of png's, only saw one png image show....No matter what I did

  • #14
    Regular Coder
    Join Date
    Nov 2002
    Location
    Carmel California
    Posts
    471
    Thanks
    0
    Thanked 1 Time in 1 Post
    no I dont mean gif ,gif is not as capable with colors, although with more advanced programs you can get 255 colors but jpeg tiff and png are capable of many more colors. I prefer png because of its compression that uses less error and color diffusion
    . But now that I learned that there is an alpha channel for transparency, and figured out how to use it, its even better!
    Kris Hubby
    kwhubby site

  • #15
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,646
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I've noticed a button I'm working on:

    as a jpeg = 2180
    as a gif = 1763
    as a png = 1227

    I need to use it in a css class via background: background-image:url(mypic.png); with text on top in a button.

    I see it with a transparent background ok in IE6 but haven't tried calling on it in a css class yet...
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

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