Context: Even though Chromium has native support for AVIF, a very nice image format, Microsoft goes out of their way to remove it from Edge, which is a chromium fork. Jpeg XL (JXL) (not to be confused with Jpeg (JPG) or Jpeg 2000 (jpg2k) ) is another nice image format, which, IIRC, is only supported in Firefox.

  • /home/pineapplelover@lemm.ee
    link
    fedilink
    arrow-up
    58
    ·
    10 months ago

    Png because it’s lossless and pretty universal. Svg is pretty cool because it’s vectorized but it’s also a pain to make good svg.

      • mlg@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        10 months ago

        Animated PNG actually does exist but it has poor support coverage.

        I remember using it to make whatsapp animated stickers

        • lud@lemm.ee
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          10 months ago

          All major browsers (98% of all users) have supported APNG since at least 2020

          Firefox: 2008.
          Safari: 2014.
          Chrome: 2017.
          Edge: 2020.

          https://caniuse.com/apng

          I believe the photo app in Win 10 (and maybe 11) still doesn’t support it but that shouldn’t hinder web devs.