• m_f@midwest.socialOPM
    link
    fedilink
    English
    arrow-up
    4
    ·
    24 days ago

    Trying out an ImageMagick pipeline today, you’ll notice that the comic is now 2x2 instead of 1x4. I also upscaled it. Hopefully this will look better, especially on phones.

    As a comparison, here’s the original:

    Here’s the upscaled 1x4 format:

    And here’s a vertical layout:

    • threelonmusketeers
      link
      fedilink
      English
      arrow-up
      2
      ·
      24 days ago

      Can ImageMagick upscale images? Didn’t know that.

      Is the software able to recover any of the text in “Copr. 195* **** **** **** Inc.”, or is that detail beyond its capabilities?

      • m_f@midwest.socialOPM
        link
        fedilink
        English
        arrow-up
        2
        ·
        23 days ago

        Yeah, it does a pretty good job of upscaling. Here’s the entire command I’m using:

        convert input.gif -crop 25%x100% +repage +adjoin miff:- | montage - -tile 2x2 -geometry +0+0 miff:- | convert - -resize 200% -colors 256 -depth 8 -filter Box output.png

        I don’t think it can realistically recover that text though. I can upscale it manually and make out “Copr. 1951 by United Feature Syndicate, Inc.”, but that’s by looking up who owns the copyright and matching it. This is about the best it can do: