cross-posted from: https://rabbitea.rs/post/212623

I was having an email conversation with Stoo Cambridge, and he mentioned that he was having trouble making his Linux machine display thumbnails of Amiga IFF/ILBM files. It turns out I have a solution for him, so I am sharing it here to help anyone else.

  • oldfart
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    When was mapping files from unknown sources to structs okay? I’ve learned programming in late 90s/early 00s and at that time it was already advised against.

    Imagemagick exists since 1987 though, so maybe it still has this kind of code somewhere.

    • addie@feddit.uk
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Advised against in the late 90s since it was a pretty common habit from the dawn of computing through till the early 90s, and they’d finally realised it wasn’t the best of ideas, even if it was very very fast.

      The number of times that Windows has been pwn3d by ‘legacy’ formats - images, font files, crazy stuff - that it’s attempted to parse for thumbnails is pretty crazy. There’s a lot of programmers writing unsafe code out there.