Sign in to follow this  
Followers 0
vlyrs

Non-rectangular icons are stretched

2 posts in this topic

My workflow dynamically generates script filter objects and it fetches icons from clearbit logo api.

Sometimes it detects non-rectangular icons, and even though those look fine in script filter object configuration window, they are stretched beyond recognition (see the screenshot) in results and workflow overview.

 

I'm on v3.0.2[676], OS X 10.10.5

 

aKGFZ3NRR.png
aL2xCHjDQ.png

Share this post


Link to post

 

My workflow dynamically generates script filter objects and it fetches icons from clearbit logo api.

Sometimes it detects non-rectangular icons, and even though those look fine in script filter object configuration window, they are stretched beyond recognition (see the screenshot) in results and workflow overview.

 

I'm on v3.0.2[676], OS X 10.10.5

 

 

For absolute performance reasons, Alfred requires a pre-sized icon if you're providing one outside of Alfred's config UIs. This is essentially why Alfred resizes and constrains to a square any icon that's dropped in the icon dropper.

 

I'll add an internal note for this, but it's a low priority, so unlikely to change at this point. Your best bet is to ensure that if you provide icons in a way other than through the icon dropper, you pre-size these correctly first.

 

[Moved to noted]

 

Cheers,

Vero

Share this post


Link to post
Sign in to follow this  
Followers 0