• randomname@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    23 hours ago

    Why does this even work though? WEBP and PNG are very different file formats yet for some reason this has always worked for me as well. Is windows automatically converting the files? I haven’t checked if changing the file extension changes the file size.

    • odelik@lemmy.today
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      19 hours ago

      WebP is an extended container around the RIFF file format, and contains the RIFF header info. So any container that is built off RIFF, or supports RIFF, can at least interpret the container data that is RIFF compatible and will lose anything that has been extended upon.