This page:
https://developers.google.com/speed/pag ... mizeImages
...provides a .exe.
What would be the equivalent for imagemagick?...with css optimiser tools in a script too?
I don't need this script, I just think it would be useful for people who can't run a .exe. Bear in mind there are apache and wordpress plugins for this... but a imagemagick personally for me is convenient
Google imageoptimiser rewriter script(s)
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Google imageoptimiser rewriter script(s)
Some items on that page are outside the remit of ImageMagick, though IM can assist. For example, the system that builds my web pages asks IM for the dimensions of each image, and then sets the HTML image tags for width and height. Similarly, it tries saving PNG files as JPG with different qualities, choosing the smallest that satisfy the criterium RMSE < 1%.
"-strip" removes metadata, of course.
Remember that IM is an image processor. It won't update HTML or CSS files.
"-strip" removes metadata, of course.
Remember that IM is an image processor. It won't update HTML or CSS files.
snibgo's IM pages: im.snibgo.com