• @BeefPiano@lemmy.world
    link
    fedilink
    English
    566 months ago

    GIFs have transparency, but not alpha blending so it would have jagged edges. When PNGs were first supported by IE, you had to do some crazy ActiveX scripting calls to make it work.

    At the time, Microsoft had shut down the IE team since they had beaten Netscape in the browser wars. If it hadn’t been for Firefox, we would be stuck with that crappy PNG implementation!

  • Herr Woland
    link
    fedilink
    546 months ago

    Today’s kids don’t understand the struggle of 8 color gifs

  • @ShortFuse@lemmy.world
    link
    fedilink
    156 months ago

    PNG was built to replace GIF and TIFF.

    The Portable Network Graphics (PNG) format was designed to replace the older and simpler GIF format and, to some extent, the much more complex TIFF format.

    And it stands to this day, with the exception of animation:

    One GIF feature that PNG does not try to reproduce is multiple-image support, especially animations; PNG was and is intended to be a single-image format only.

    Though APNG came later, and we even have MP4.

    http://www.libpng.org/pub/png/pngintro.html

    Bonus:

    No detail was too small for consideration in the authors’ quest for a near-perfect image format; yea, verily, even the acronym and pronunciation were major topics of discussion. The reason, of course, is the GIF format; some pronounce it with a soft G like giraffe, some with a hard G like gift, and no one really knows what they’re talking about. (For the record, the soft G is correct; it is how the author of the format pronounces it.)

    “PNG” is always spelled* “PNG” (or “Portable Network Graphics”) and always pronounced “ping” in English, not “pinj” or “pee en gee” or any other multi-syllabic disaster. (For non-English speakers, the three-letter pronunciation is fine, however.)

    • @Vent@lemm.ee
      link
      fedilink
      226 months ago

      Never heard anyone pronounce it ping, lol! P-N-G is a better pronunciation anyway. Less ambiguous, there’s already something called ping that is super common in computing.

    • @frezik@midwest.social
      link
      fedilink
      46 months ago

      Odd they bring up TIFF. That one is more like a container format that can hold many different types of images.

    • @thomasloven@lemmy.world
      link
      fedilink
      2
      edit-2
      6 months ago

      with the exception of animation.

      Funny you should mention that… From the GIF89 specification, Appendix D:

      Animation - The Graphics Interchange Format is not intended as a platform for animation, even though it can be done in a limited way.

  • @Heavybell@lemmy.world
    link
    fedilink
    English
    156 months ago

    Anyone else remember when people hated PNG like they hate WEBP today, for the same reason; namely lack of wide-spread software support?

      • @Vent@lemm.ee
        link
        fedilink
        46 months ago

        JpegXL is definitely better overall, especially for its texture-preserving features, but it’s even less supported than webp :(

    • @frezik@midwest.social
      link
      fedilink
      46 months ago

      PNG mainly lacked support from Microsoft (Internet Explorer) and Adobe (Photoshop). IE didn’t handle PNG transparency, while Photoshop had a shitty PNG implementation that tended to produce files larger than an equivalent GIF. Held back widespread adoption for almost a decade.

  • AwkwardLookMonkeyPuppet
    link
    fedilink
    126 months ago

    That was the world long after PNG was invented since IE didn’t support it for years, and the majority of people and all the businesses used IE.