this post was submitted on 04 Dec 2024
28 points (100.0% liked)

Peanuts

233 readers
90 users here now

For posts about the comic Peanuts, by Charles M. Schulz

founded 4 months ago
MODERATORS
28
4 December 1950 (midwest.social)
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 2 months ago (1 children)

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:

[–] [email protected] 2 points 2 months ago (1 children)

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?

[–] [email protected] 2 points 2 months ago (1 children)

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:

[–] [email protected] 2 points 3 weeks ago

Thanks for the info; that's pretty neat!