Recommendation for compressing JPG files with ImageMagick

后端 未结 10 1320
有刺的猬
有刺的猬 2020-12-04 04:10

I want to compress a JPG image file with ImageMagick but can\'t get much difference in size. By default the output size is bigger than the input. I don\'t know why, but afte

10条回答
  •  盖世英雄少女心
    2020-12-04 05:06

    I added -adaptive-resize 60% to the suggested command, but with -quality 60%.

    convert -strip -interlace Plane -gaussian-blur 0.05 -quality 60% -adaptive-resize 60% img_original.jpg img_resize.jpg
    

    These were my results

    • img_original.jpg = 13,913KB
    • img_resized.jpg = 845KB

    I'm not sure if that conversion destroys my image too much, but I honestly didn't think my conversion looked like crap. It was a wide angle panorama and I didn't care for meticulous obstruction.

提交回复
热议问题