Smush.it
Posted by mikeg on January 20, 2009
API is very simple which brings complexities. Doesn’t allow upload of images, only reference of existing files that are internet accessible — that is why I am using S3.
Issues with Smush.it
- Cannot upload the image to Smush.it, have to reference existing internet-accessible image
- Cannot download only specific images, have to download all images in the batch
Logic
- Allow drag and drop of files or pointing to directory
- Create a “timestamp task” — used by Smush.it to download all images associated with current batch
- Helper uploads to S3 “smushit” bucket — need to think about not overwriting
- Once all uploads are done, it tells Smush.it where to find the images
- Once Smush.it responds about all the files we display the savings and allow user to download (Future: allow user to choose which file to download, in reality it will still download the files but will not overwrite)
- Based on user’s choice we either overwrite or backup existing images
Future: allow to compare 2 images
http://www.nochump.com/blog/?p=15