Search the Community
Showing results for tags 'tinypng'.
Found 2 results
This workflow will take a set of PNG or JPG files and compress them using the online TinyPNG service. For more info on what it does to the image, see http://tinypng.com/ Usage: This workflow works as either a File Action or a regular keyword process. Either: 1) Select the PNG or JPG files you want processed (in Finder or Alfred), then select the "Compress with TinyPNG" File Action in Alfred. 2) Select the PNG or JPG files you want processed in Finder, launch Alfred, then use the “tinypng" keyword. The processed files will be downloaded to a TinyPNG folder on your Desktop, along with a Report showing the success/failure of each file, and how much it has been compressed by. The process may take some time, especially if you have selected several large image files, but you will notified on completion. However, if you have Growl/growlnotify installed, you will get a per-file notification as it progresses. A Note on Heavy Usage: The TinyPNG API has a limit of 500 files per month. As you can imagine, once a few people are using the workflow substantially, this doesn't take long to reach. I have provided a default API key built-in so you can use the workflow immediately. However, if you intend to continue using it in any substantial capacity I strongly suggest you visit https://tinypng.com/developers and register for your own API key. You can jump there with the keyword “tinypng_getkey” in Alfred. Once you’ve got your key, save it into the workflow configuration with the keyword “tinypng_config” Download v1.3 Cheers, Carl ---- 28 November 2013 - updated to v1.1 Updated to use the new TinyPNG.com API Now works as a regular Alfred keyword (with Finder selection) as well as File Action 19 March 2014 - updated to v1.2 Now gives better error reporting on failures. (You’ll be able to tell if the monthly limit has been exceeded.) Consolidated processing to a single bash script. The Finder Selection script now just parses the input and sends it to the main script. (Irrelevant to user experience.) User can enter their own API key to prevent reaching the Free account limit when using a shared key. Updated icons (from TinyPNG.com) 6 October 2015 - updated to v1.3 Now supports JPG files as well.
This is a little utility workflow that allows you to shrink your PNG files. The workflow uses the service provided by http://tinypng.org, which also explains what exactly happens when PNG files are shrunk. You need an active internet connection for this to work. Included in this workflow are File Actions (action: Shrink with TinyPNG), File Filters (keyword: tinypng) and a configurable Shortcut. Once you select a PNG file / or files and invoke the workflow, it will create a backup of your original file with the prefix "original_" and then compress your file using the web service. To get an idea of the savings, the image above was shrunk using the workflow to get a savings of 72%. Download. All images in this post were shrunk using the TinyPNG workflow. EDIT: If you are looking for an alternate similar workflow, try this one by @CarlosNZ