Smush.it works
I was just playing with Smush.it . It works but perhaps Smushing from IrfanView or the GIMP would be nice. There is an API for you developers:
http://smush.it/ws.php?img=http://smush.it/css/skin/screenshot.png – example smushed response
http://smush.it/ws.php?img=http://smush.it/css/skin/logo.png – image that cannot be further smushed
All responses are in JSON format.
The only required parameter is img. There are two optional parameters:
id– something that will help you identify the response if you send requests in a batchtask– something that will allow you to group together a bunch of images if you want to get the zip file after that. Make that as unique as possible.
Here’s a scenario. You upload two images with the same task identifier:
http://smush.it/ws.php?task=mytask&img=http://example.org/image1.png
http://smush.it/ws.php?task=mytask&img=http://example.org/image2.png
To get the zipped result go to:
http://smush.it/zip.php?task=mytask
Post Links
Flux Share |
Bookmark |
Permalink | Trackback |
Email to a Friend |
Leave a Comment
Comments
Leave a Reply
You must be logged in to post a comment.