(Alternatively should also work with libjpeg-turbo or mozjpeg) TESTED PLATFORMS Linux MacOS Windows (setargv.obj 'link option' is needed for wildcards expansion to work) INSTALLATION Installation should be very straightforward, just unpack the tar file, make. convert file.jpg -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace sRGB file. convert file.png -sampling-factor 4:2:0 -strip -quality 85 -interlace PNG -colorspace sRGB file.png For jpg. What’s even more exciting is that it looks like this optimization will make its way into WordPress 4.4, together with some other improvements for the responsive images. REQUIREMENTS Independent JPEG Groups jpeg library (libjpeg) version 6b or later. For single files, I am using the following ImageMagick commands (as google suggests): For png. convert -strip -interlace Plane -gaussian-blur 0.05 -quality 85 source.jpg result.jpg. Not only it gives you a better way of doing things, but it also explains the path of how to get there. a very tiny gausssian blur to optimize the size (0.05 or 0.5 of radius) depends on the quality and size of the picture, this notably optimizes the size of the jpeg. And still, I don’t really know it that well, so when I see articles like this – “ Efficient Image Resizing With ImageMagick“, I get excited. Do you like the WEBP Compressor Then it would be. I’ve used for years for a whole lot of different things – from simple image resizing, through animation generation, to palette manipulation. For the technical enthusiats: Uses imagemagick, cwebp, exiftran, exiftool, puppeteer and a lot of custom code. This many-featured, open-source software is a solid tool for doing just that. ImageMagick is one of my favorite tools ever.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |