![]() (POSIX path of (path to desktop folder)) & "tinypng panda. To use the File Filter, use the keyword "tinypng" in Alfred to choose the workflow, then search for the name of the image you want to optimise.Īnd finally, you can use an External Trigger to call this action from another workflow or AppleScript. You can then type "tinypng" or choose "TinyPNG Compression" from the actions list. Its not free, so if youre looking for a free alternative, you could try Caesium Image Compressor or RIOT - Radical Image Optimization Tool. To use it as a File Action, select one or more files in Alfred or Finder, and use your Universal Action hotkey (which is ⌘/ by default) to pop up the list of actions. You can access the workflow in a few ways File Action, File Filter, or External Trigger, take your pick! Choose your favourite way to use the workflow By default, they are saved to a temporary directory which is cleaned on every reboot.Īs of writing, TinyPNG lets you compress 500 images per month for free. You'll have to register for an API key and add it as a Workflow Environment Variable.īecause TinyPNG's compression is lossy - meaning information is discarded - the Workflow backs up your originals. ![]() Install the workflowĭownload the TinyPNG Alfred Workflow from GitHub and install it by double-clicking the file, which will launch Alfred's preferences and pop up the workflow's Readme and setup window. Using TinyPNG can shrink a file size to a tenth its original size, making your exported workflow far more suitable for sharing! Setting up the TinyPNG Workflow 1. Whether you're designing a new website, posting to your blog or creating an Alfred workflow, the more optimised the images are, the more lightweight your page or workflow will be. You can compress PNG, JPEG, and WebP images without having to hop over to their website and manually dragging in images, as their API makes it a breeze to use directly from the TinyPNG Alfred workflow. It's brilliantly useful, so we've made a workflow for it! TinyPNG is a web service that allows you to reduce the size of your images with no perceptible loss in quality, while shrinking the size of your files significantly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |