After 20 years, PNG is back with renewed vigor! A new PNG spec was just released.

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    82
    arrow-down
    1
    ·
    edit-2
    2 days ago

    PNG has terrible compression

    It’s fine if you’re using it for what it’s intended for, which is images with flat color or an ordered dither.

    It’s not great for compressing photographs, but then, that wasn’t what it was aimed at.

    Similarly, JPEG isn’t great at storing flat-color lossless images, which is PNG’s forte.

    Different tools for different jobs.

    • dormedas@lemmy.dormedas.com
      link
      fedilink
      arrow-up
      41
      arrow-down
      1
      ·
      edit-2
      2 days ago

      JPEG isn’t great at storing flat-color lossless images, which is PNG’s forte.

      JPEG isn’t, but JPEG-XL, on the other hand, has come into existence and has great compression while being pixel-perfect lossless as compared to PNG (among a host of other improvements).

      If only it got the support it deserves (thanks Google for making that harder)