Search the Community
Showing results for tags 'png'.
-
An Alfred 4 workflow for quickly compressing and resizing images using TinyPNG. Simply select a collection of images or a folder in Finder and activate the workflow. Installation and Getting Started Install alfred-tinypng workflow. All further updates are handled automatically. You will need to configure the workflow with an API key from TinyPNG. Type tinypng_api to get a link to the pagewhere you can get your API key and to actually set the key when you have gotten it. Usage Select either a folder, image file or a number of image files in Finder. Afterward, open Alfred and type tinypng. You are presented with the following choices: Choose an item based on what you want. When selected, the workflow will start compressing/resizing the image(s). After it is done, they will be saved to the same directory and with the same filename as the original image. The original image will be preserved with .bak prepended before the file extension. I.e. if compressing img.jpg, this will now become img.bak.jpg and the compressed image will be saved as img.jpg. Refer to the TinyPNG documentation for a full explanation of the different resizing options. Why? Another TinyPNG workflow already exists It doesn't support choosing the files based on what is selected in Finder (which I personally prefer). Only simple compression is supported whereas all TinyPNG compressions and resizing options are supported in this workflow. It seems to be abandoned by the creator (has not been updated since 2015). Credits The workflow makes use of the following: OneUpdater by vitorgalvao for handling automatic updates. TinyPNG Python API Code and more can be viewed on the associated GitHub-repo. If you find this workflow useful, stars are appreciated.
-
Hi everyone, Here's a very small workflow to convert a (lovely) PNG image to a (lovely) ICNS icon file (that you can use for your node.js app, for example). Import the workflow from -> the github repository Make a (lovely) 1024x1024 PNG image, Select it in the Finder, Hit CMD + ALT + CTRL + i (like "Image") Et voilĂ ! You can also use the bash script, with more options (png2icns.sh). Enjoy!
-
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
-
Hi, This workflow will convert selected image to base64 string and copy to clipboard in css friendly format(with 'data:image/{file extension};base64' prefix). Download | Github I will be happy to hear feedback and improvement suggestions.