Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Graphics Software

PNG Second Edition Is a W3C Proposed Recommendation 66

Quadraphonic writes "I'm surprised I haven't seen this yet: PNG Second Edition is a W3C Proposed Recommendation. Thoughts?"
This discussion has been archived. No new comments can be posted.

PNG Second Edition Is a W3C Proposed Recommendation

Comments Filter:
  • Great! (Score:2, Funny)

    by TomGroves ( 622890 )
    I look forward to seeing it in action in 2006
    • Re:Great! (Score:4, Interesting)

      by Universal Nerd ( 579391 ) on Friday May 30, 2003 @02:52PM (#6079318)
      I like PNGs, I really do, I try to use them whenever I can but the problem is that MSIE doesn't render the alpha channel correctly without a CSS hack to the IMG tag.

      I agree with you, I'll be looking forward to seeing PNGs used in mainstream sites (such as Slashdot) in 2006, if not later.

      Good ideas without corporative support will always remain just that, good ideas.
      • by Anonymous Coward
        the problem is that MSIE doesn't render the alpha channel correctly without a CSS hack to the IMG tag.

        So, what's the problem? Why cater the status quo? If MSIE sucks, tell people that that's the case!

        • the problem is that MSIE doesn't render the alpha channel correctly without a CSS hack to the IMG tag.
          I do, but if that did any good Ralph Nader would be president of the good ol' U. S. of A.!
      • Re:Great! (Score:3, Insightful)

        by Anonymous Coward
        You can still use single bit transparency with IE without any hacks, making it a fine replacement for GIF. But, alas, this is one of the risks of having one browser have such a large market share... slower innovation.
      • Re:Great! (Score:5, Informative)

        by brianmf ( 571620 ) on Friday May 30, 2003 @03:23PM (#6079604)
        Maybe some of you could take the time to sign a petition [petitiononline.com] to help get (proper) PNG support in MSIE?
        • Re:Great! (Score:5, Informative)

          by superyooser ( 100462 ) on Friday May 30, 2003 @06:03PM (#6080991) Homepage Journal
          It's a good cause, but not likely to budge MS. See this recent Q & A [microsoft.com].
          Host: Rob (Microsoft)
          Q: when will IE get transparent PNG support?

          A: Ian, I'm sorry, I can't answer that question for you
          Here's another choice piece about the future of IE, or lack thereof.
          Host: Brian (Microsoft)
          Q: when / will there be the next version of IE?

          A: As part of the OS, IE will continue to evolve, but there will be no future standalone installations. IE6 SP1 is the final standalone installation.
          Later, Brian of MS says, "Legacy OSes have reached their zenith with the addition of IE 6 SP1. Further improvements to IE will require enhancements to the underlying OS."

          So, enhancements to the underlying OS are necessary for the features that most other modern browsers have, such as transparent PNGs, popup blocking, and tabbed browsing? Obviously, they have no intention of ever adding these features to IE. This is awful. It's staggering that AOL just snubbed the most innovative browser on the planet to make a deal to use a stagnant, obsolete 1998 browser until 2010 (Re: this story [slashdot.org]).

          • "It's staggering that AOL just snubbed the most innovative browser on the planet to make a deal to use a stagnant, obsolete 1998 browser until 2010 (Re: this story)."

            The agreement gives AOL the right to use it, it doesn't require them to... and it doesn't require MS to make it possible to do so, with IE6sp1 as the last standalone browser and from here on in the browser being completely integrated into the OS it is highly unlikely that MS will be willing to seperate it, they will without a doubt say it's in
          • Re:Great! (Score:1, Interesting)

            by Anonymous Coward

            Later, Brian of MS says, "Legacy OSes have reached their zenith with the addition of IE 6 SP1. Further improvements to IE will require enhancements to the underlying OS."
            So, enhancements to the underlying OS are necessary for the features that most other modern browsers have, such as transparent PNGs, popup blocking, and tabbed browsing? Obviously, they have no intention of ever adding these features to IE. This is awful.

            If you turn on your noodle and read between the lines, what he's saying is that olde

        • Yeah, and while you're at it, you can bitch directly to the IE PSS team here [microsoft.com].
      • Re:Great! (Score:3, Informative)

        by JabberWokky ( 19442 )
        Jumping in here briefly, I'll mention that IE for the Mac appears to support alpha properly, leading me to think it may be related to how IE for Windows handles the client area (i.e., the drawing methods in the page).

        And second - what is the CSS hack? That would be handy for people to do as an interm fix. (And real world html is all about interm hack fixes to get things to look right).

        --
        Evan

  • PNG version 2?? (Score:3, Interesting)

    by mhesseltine ( 541806 ) on Friday May 30, 2003 @02:51PM (#6079309) Homepage Journal

    Honestly, who the hell is using version 1? Most pages still serve JPEG and (God help us) GIF files for images. Was there a feature missing from PNGv1 that was slowing adoption?

    As much as I agree with the idea of standards, the fact is, if no one bothers to follow them, or implement them, what's the point?

    • Re:PNG version 2?? (Score:5, Interesting)

      by Universal Nerd ( 579391 ) on Friday May 30, 2003 @02:57PM (#6079358)
      Missing feature is support for alpha-channels in MSIE.

      Single bit transparency (GIFs) suck compared to pages with alpha channel transparencies but since MSIE can't render them correctly they fail to make the market.

      Oh, there's another problem - lack of a good program to save PNGs. AFAIK, Gimp is the best PNG generator around all the Windows photo editing software I used to use (Photoshop and Paint Shop Pro) generated terribly large PNGs, I used to save them as GIFs.
      • by friedegg ( 96310 ) <.bryan. .at. .wrestlingdb.com.> on Friday May 30, 2003 @03:25PM (#6079623) Homepage
        Is PNGOUT [advsys.net] by Ken Silverman. It's even beats PNG Crush [sourceforge.net] most of the time. I create my PNG's in Photoshop, and then when I use PNGOUT before going live.
      • Missing feature is support for alpha-channels in MSIE.

        And this is the fault of PNG how? If IE choses not to follow a standard (surprise, surprise), does it require writing a new standard? Do people really think that MS will suddenly support alpha transparency in PNGv2?

        This sounds like a great way to encourage people to move away from MSIE. Show them nicely renderd alpha transparent PNG files in Mozilla, and comparable files in MSIE and let them see that IE is in fact, crippled.

        • I am mad as hell about my lack of PNG support, VERY mad, but that's not going to change anything. Show people a crippled page in IE, whether the browsers fault or the page's, and people will blame you. They will just move along to the next page and not consider switching. I'm sorry, but to users you are a Jahova's witness, and they don't give a shit.
      • Re:PNG version 2?? (Score:5, Informative)

        by metalhed77 ( 250273 ) <`andrewvc' `at' `gmail.com'> on Friday May 30, 2003 @03:44PM (#6079823) Homepage
        Oh, there's another problem - lack of a good program to save PNGs. AFAIK, Gimp is the best PNG generator around all the Windows photo editing software I used to use (Photoshop and Paint Shop Pro) generated terribly large PNGs, I used to save them as GIFs.

        What's that mean? My site uses both photoshop and imagemagick to generate PNGs and they come out the same as gimp. An algorithm is an algorithm. I think that maybe gimp might default to PNG8 while photoshop defaults to PNG24. Either way its customizable. Photoshop has full PNG compatibility.
        • There's a lot of difference in how images are compressed. Photoshop produced PNGs are not the most size efficient, and might lead someone to believe GIF would be a better choice.
      • Gimp, like almost every other GNU program I've ever needed to run, runs fine on Windows. So, what's the problem?

        I work completely in a Windows environment and we use PNGs a lot to compress screen shots. They come out way smaller than JPGs and maintain all of the colors unlike GIFs. We capture them with SnagIt, a windows program, and we use them in MS Word. I wouldn't say they have no support, they work way better in MS Word than the alternatives, just that the vast majority of users in the world don't

    • Re:PNG version 2?? (Score:5, Informative)

      by AnamanFan ( 314677 ) <anamanfan&everythingafter,net> on Friday May 30, 2003 @03:09PM (#6079465) Homepage
      I use a lot of PNGs with client's websites [wmich.edu].

      The proplem is the non-existant Alpha support on MSIE. Every other [modern] browser reads the alpha beautifully.

      For creating PNGs, outside of using GD in PHP, I use Fireworks [macromedia.com] which so far does the trick as long as you use the Export Preview function, not the native 'save as..' function. WAY better than GIFs by far!

      Personally, you have to individual check on each image that comes into your browser to know who's using what. PNG is used more than you think. But I still wish MSIE would wise up to the alpha problem.
      • Please see my other post in response to essentially the same question.

        P.S. 2 minute posting time limit sucks!! How about incremental increases, 30 seconds, 1 minute, 2 minutes. That way, if you only post a couple of comments, no problem. If you're a troll, you have to wait more and more to crapflood?

    • by smcv ( 529383 ) on Friday May 30, 2003 @06:31PM (#6081176) Homepage
      This isn't PNG 2.0, it's PNG second edition: think of it as being like the difference between Win98 and Win98 second edition.

      When the W3C release a "second edition" recommendation, it's mostly editorial changes - see the changes summary in the PNG recommendation (or see XML 1.0 second edition, which is the current XML spec, for an example of another "second edition").

      The linked spec is basically compatible with the original version, but some of the conditions for conformance have been tightened up (not that that matters for IE purposes since it didn't conform anyway) and the necessary verbiage to use the text as an ISO standard has been added (W3C policy is to release "recommendations" which are treated like standards, but this one is actually going to be a standard in theory as well as in practice).
  • Now if we ... (Score:5, Insightful)

    by altp ( 108775 ) * on Friday May 30, 2003 @03:09PM (#6079459)
    ... Could get web masters to stop using gifs and jpegs. Adaptation of PNG moves slowly, at least here, for 2 reasons.

    1) Web masters are more of a designer than a tech, they don't follow all the newest developments (most here still use HTML 1.0).

    2) Netscape 4.x doesn't load them, and administration feels that it is important to support the people that refuse to upgrade.

    Again, thats here ... but i'm sure these behaviors flow to many places.

    Altp.
    • Re:Now if we ... (Score:2, Informative)

      by Copperhead ( 187748 )
      While I can see (and would welcome) PNG replacing GIF, I don't think it's in a position to replace JPG. PNG doesn't do lossy compression, dithering, etc., which JPG does well.

    • It's a hackish solution and probably not the most optimal way of doing it, but for the code used on my website, I detect the browser and make a loose check to see if the browser is version 5.0 and up or Opera, or not. If the former is true, set the image extension to ".png", else, set the image extension to ".gif" (I don't have any JPEGs since the only images I have are buttons or basic images that all fit into 216 colors).
    • > Netscape 4.x doesn't load them, and administration feels that it is important to support the people that refuse to upgrade.

      I say support them with a hammer-blow to the back of the head.

      In front of their children (as a lesson).

      Dancing on their grave afterwards is optional (see spec).
    • JPEGS aren't going anywhere. They beat PNG (as far as file sizes are concerned) hands down for pictures, game screenshots, etc., basically anything that doesn't have large contiguous areas of the same color. The PNG people even acknowledge this.

      For things that DO have large, contiguous areas of the same color (like website graphics, or the mostly black "picture of Earth from Mars" photo), PNG is usually better (file size-wise), especially if those graphics can be reduced to 8-bit indexed color.
      • JPEG's are also worse when compressing line art and similar graphics since the format introduce JPEG artifacts that are especially visible in high contrast graphics such as charts, etc.
  • What's the point? (Score:3, Interesting)

    by Masa ( 74401 ) on Friday May 30, 2003 @03:43PM (#6079813) Journal
    I just made few PNGs with GIMP and used them at a web page. To my surprise, the pictures didn't look right because the IE6 doesn't seem to support PNGs correctly. The whole point of using the PNGs at the page was that they offer nice support for transparency and alpha channel. But IE6 rendered the pictures using black background and the whole page looked like a shit.

    I'm not saying that we have to slow down the technological progress because IE can't support standards, but come one, if the major player isn't supporting even the older version of the standard (PNG v.1 is a part of the W3C standards, right?) then how could we expect anyone to support yet another version?
    • Re:What's the point? (Score:3, Informative)

      by vadim_t ( 324782 )
      Even without fancy transparency features PNG is still very useful.

      First, unlike GIF it supports more than 256 colors
      Second, just like GIF it's lossless (It could be said that conversion to 256 colors is a loss though)
      Third, it's a bit smaller than GIF

      JPG can't deal properly with thin lines. Which means that if you want a good encoding of a picture that contains lines and text, like color comics you have to use JPG or GIF. If the comic happens to have many colors then PNG is the only thing that will look g
    • The key to getting PNG to work properly with Internet explorer is to flatten your image down to 256 colors (indexed). This also allows only single-bit transparency.

      This is what I did with my user image for livejournal [livejournal.com]. Sure, it's not as nice as full 24-bit transparency, but it's everything you were able to get with (non-animated) GIFs, except with smaller files. (And, unlike most GIF usage, legal without buying a license)

      Doing this to an image inside GIMP is pretty simple: Image->Mode->Indexed.

      T
  • by ptaff ( 165113 ) on Friday May 30, 2003 @04:57PM (#6080436) Homepage
    You can actually display alpha layered PNGs on Microsoft Internet Explorer, starting from version 5.5, using an ugly workaround using DirectX and a CSS3 directive.

    Now, be prepared: it will work _only_ with tags, so no alpha for background images yet. Still, it's an improvement.

    I still don't get why they didn't implement it properly in the first place, let's not talk about it, it's a 1996 recommendation and I'm already so mad and frustrated by their bogus workarounds covering their flaws (XML parser bugs, ignores the IGNORE directive in DTDs, anyone?)

    Anyway, the trick is to use a CSS on all images:

    img { behaviour: url('/path/to/.htc'); }

    using the .htc file coming from here:
    Thanks [eae.net]

    You just have to point to a 1x1 spacer GIF in the .htc source.

    Works pretty fine, is compatible with Opera/Mozilla/IE and _at last_ you can get rid of 1988-oriented GIFs.

    Should you want to support IE 5.5, welcome to the future of the web of yesterday :)
  • Recompression (Score:3, Informative)

    by Omniscient Ferret ( 4208 ) on Friday May 30, 2003 @05:58PM (#6080957)
    If you want to recompress the bloated PNGs written by Photoshop, a guide to PNG optimization [toronto.edu] is available.
  • by Omniscient Ferret ( 4208 ) on Friday May 30, 2003 @06:20PM (#6081114)
    I think this is just considered an update from the PNG spec 1.0 to spec 1.2 (or, maybe 1.3). The PNG home site [libpng.org] mentions version 1.1 (with color correction) & 1.2 (with international text). The text in the linked recommendation mentions that it's the same text as the ISO standard (except for "cover page and boilerplate differences"); the PNG news page mentions that the two announcements are related [libpng.org], but without mentioning why they're related. It mentions "errata and clarifications" from PNG spec 1.0.

    Bleh. Anyway. It's not about PNG 2.0 or anything. If you want animation, you still have to use MNG [libpng.org].
    • I'd really like to see MNG get more attention and support. Last I checked you have to get special plugins for it, to view them with IE. Not sure if Mozilla supports them yet.

      I want to get the hell away from GIFs, because I don't want to have to get a license to use it (not like it really matters), and plus being limited to 256 colors sucks.

  • At last! (Score:2, Funny)

    by ariels ( 6608 )
    Just in time for IPv6 [slashdot.org], too!
  • To see if your browser is up-to-date with PNGs, take this test [entropymine.com]

Two can Live as Cheaply as One for Half as Long. -- Howard Kandel

Working...