Acidham Posted October 14, 2022 Share Posted October 14, 2022 (edited) Shrinks an image by reducing size of the longest side and optimize the color of the image for sharing. The workflow accepts one image file via file action. Download: https://github.com/Acidham/alfred-image-shrinker/releases/latest Usage ImageShrinker can be used in two ways: by browsing a folder or file, select the image file and then send it via file action to ImageShrinker by using Universal Actions*: select an image file in Finder, enter Universal Actions and send it to ImageShrinker * Using Unviersal Actions: Open Alfred Preferences → Features → Universal Actions Required Alfred 5 Automation Task Edited October 19, 2022 by Acidham suliveevil 1 Link to comment
dlandes Posted October 18, 2022 Share Posted October 18, 2022 This is nice. Is there a way to use an image file copied to the clipboard as input? As far as I can tell the only way to use the workflow right now is by browsing a folder in Alfred, or am I missing something? Using the clipboard would truly make this useful for how I use my computer/Alfred. Link to comment
Acidham Posted October 18, 2022 Author Share Posted October 18, 2022 23 minutes ago, dlandes said: This is nice. Is there a way to use an image file copied to the clipboard as input? As far as I can tell the only way to use the workflow right now is by browsing a folder in Alfred, or am I missing something? Using the clipboard would truly make this useful for how I use my computer/Alfred. You can use ImageShrinker in two ways: by browsing a folder, choose a file and then send it via file action to ImageShrinker Use Universal Action in on a selected image file in Finder and then send it to ImageShrinker Getting image file from the clipboard requires additional extensions as far as I know (e.g. Python lib or something). I would like to avoid the dependency. Link to comment
dlandes Posted October 18, 2022 Share Posted October 18, 2022 ah, didn't know about Universal Actions yet. That's a great way to do it. Thanks for the pointer. David Link to comment
modusop Posted January 5 Share Posted January 5 Hi I'm getting this error when running in debugger after selecting an image, running the universal action and selecting an image size - any ideas please? ERROR: Image Shrinker[Automation Task] Task not found 'com.alfredapp.automation.core/image-manipulation/image.format.convert' Link to comment
Acidham Posted January 5 Author Share Posted January 5 which version of Alfred are you using? Did you install Alfred Automation Tasks? Link to comment
vitor Posted January 5 Share Posted January 5 @modusop You have to double-click the Automation Task object (it will be showing in red) and update. Link to comment
modusop Posted January 5 Share Posted January 5 Thanks both. @vitor - installing the automation task worked - everything is working nicely now :-) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now