shau-kote Posted May 4, 2016 Share Posted May 4, 2016 (edited) Hello. When I create icons for my workflows, I resize them and optimize through tinypng.org according to Andrew's advice. But I've noticed that when I drop an icon into workflow details dropdown or into some object (for example, Script Filter) configurator, Alfred modifies the icon. And the modified icon has a much larger size. More than ten times larger. The size is even larger than the icon had before optimizing. I wonder why does Alfred do it? And if Alfred does it, maybe it is pointless to optimize icons? Edited May 4, 2016 by shau-kote Link to comment
Andrew Posted May 4, 2016 Share Posted May 4, 2016 When Alfred writes the file, it's a png saved from the raw image data dropped into the image cell. This is why you are seeing larger icons saved. I recommend using TinyPNG to make the images smaller after they have been added to the workflow, directly from the workflow's folder. Cheers, Andrew Link to comment
shau-kote Posted May 4, 2016 Author Share Posted May 4, 2016 (edited) Thank you for so quick answer. Just to clarify: I just put icons into workflow folder, name them "icon.png" (for workflow) and "{uid}.png" for workflow objects, and all will work properly. Did I get it right? Edited May 4, 2016 by shau-kote Link to comment
shau-kote Posted May 5, 2016 Author Share Posted May 5, 2016 Well, it's seems to me like almost all really works properly. Except for main area of workflow editor. Apparently it caches icons for workflow objects. But it is a trifle. Thank your for your application and advices, Andrew. Link to comment
Andrew Posted May 5, 2016 Share Posted May 5, 2016 The easiest way to do it is to put the original images directly into the workflow editor, Alfred will downsize them to 256px, then at some point later, reveal the workflow in Finder and drag all the created pngs into TinyPNG, download them and put them back into the workflow editor Cheers, Andrew 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