r/imagemagick • u/TheOmegaCarrot • Oct 18 '22
Imagemagick did an obscenely good job compressing an image?
There’s gotta be something I’m misunderstanding.
I like fiddling with the command-line tool, poking at some of the effects. Today in a complete brain fart, I ran convert original.png out.png. But then I noticed the file sizes: (4K image)
Original: 25M
output: 134k
I compared them by eye, and even ran the compare tool, and the two images are precisely identical, aside from filesize. The puzzling part is, the “original” was output by imagemagick itself.
The pipeline of this image was:
Downloaded a neat wallpaper
Manually do massive color adjusting in GIMP
Obliterate the image with:
convert in.png -enhance -enhance …x700… -enhance out.png
The end of that resulted in the 25M image, and was the “original” at the start of this post.

