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 jesused and suliveevil 1 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, 2023 Share Posted January 5, 2023 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, 2023 Author Share Posted January 5, 2023 which version of Alfred are you using? Did you install Alfred Automation Tasks? Link to comment
vitor Posted January 5, 2023 Share Posted January 5, 2023 @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, 2023 Share Posted January 5, 2023 Thanks both. @vitor - installing the automation task worked - everything is working nicely now :-) Link to comment
jesused Posted February 28 Share Posted February 28 On 10/14/2022 at 5:37 PM, Acidham said: 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 Very good!!!!! Thank you very much! I wonder if when I press the universal actions instead of "Image Shrinker" I can change the name to "Reduce image size" Is it possible? THANK YOU FOR THIS!!! Link to comment
Acidham Posted February 28 Author Share Posted February 28 @jesused makes sense! I changed it and released a new version: https://github.com/Acidham/alfred-image-shrinker/releases/tag/v1.4.3 jesused 1 Link to comment
jesused Posted March 11 Share Posted March 11 On 2/28/2024 at 5:41 PM, Acidham said: @jesused makes sense! I changed it and released a new version: https://github.com/Acidham/alfred-image-shrinker/releases/tag/v1.4.3 You’re my god!! Thanksssss!! Acidham 1 Link to comment
jesused Posted March 11 Share Posted March 11 (edited) On 2/28/2024 at 5:41 PM, Acidham said: @jesused makes sense! I changed it and released a new version: https://github.com/Acidham/alfred-image-shrinker/releases/tag/v1.4.3 Dear friend, I'm thinking... Now, for example, it shows " Reduce image size" in English, and it's great, much better than before! But an idea that comes to mind, what if in the panel where the plugin configuration appears, put a text field where you can customize this text field? I think that would be excellent, for example, if you are Spanish, Chinese or French, you can put in your own language and whatever you want: "Reduce image", "Reduce image size", "Smaller image".... Anyway, great plugin and great work! Regards! https://share.cleanshot.com/RJ9ZmCP8xr1p7RLVkb6Q Edited March 11 by jesused 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