• reddig33@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    28
    ·
    15 hours ago

    All you have to do is add a small traditional JPEG image at the start of the file. It doesn’t have to be high resolution or more than a couple of kb. The new format decoder would know this, and skip the traditional jpeg “header”, rendering the newer file format embedded in the image.

    • wischi@programming.dev
      link
      fedilink
      arrow-up
      43
      arrow-down
      2
      ·
      15 hours ago

      Would completely defeat the purpose of making a new smaller file format if we prefix if with the old format.

      • reddig33@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        17
        ·
        14 hours ago

        If you’re really saving 20% in file size with XL, adding back a very compressed preview image that takes up one or two percent isn’t going to cost you much.