Use ImageMagic to process a photo below 20 KB

Source: Internet
Author: User

If you use ImageMagic to process a photo under 20 KB, I will be able to help you with the photo today. In other words, we need to process a .jpg of over kb for less than 20 KB.
I have been using photoshop for half a day, and I cannot meet the requirements. Www.2cto.com is not too big, that is, the quality is too bad. I even changed the photo to black and white, and changed the flowers and clothes on the photo to monochrome, which didn't work very well. It was concluded that it was impossible to maintain a good quality after 20 kb. But google it online,
It seems that EXIF information can be removed to save a lot of bytes. I don't have windows. Fortunately, I have installed ImageMagic before. Please try it out: www.2cto.com Shell code convert original.jpg-strip-resample 72x72-resize 120x160 stripped.jpg where-strip removes EXIF and other information;-resample modifies resolution;-resize modifies the Photo size.

Done.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.