How to handle image files?

0 minute read

My jpeg file is too big!

We will use the fabulous ImageMagick for that! The difference in size can be quite noticeable while hardly loosing any visual precision (at least naked eye, no zoom required).

1user $ magick IMG20241111115113.jpg -strip -interlace Plane -gaussian-blur 0.05 -quality 85% -resize 2048 test.jpg

This will reduce the jpeg picture to a 2048 wide version of it.

To give an example of how it compressed: coming from a 6144x8192 which was 7.9 MB, the result to a 2048 wide image gives a size of 532 KB.