Hello,
So I’ve been using custom icons in my addon for a while, but recently I’ve been adding some more. This has always been going on, but now I’m starting to notice it more.
I export my icons from Adobe Illustrator as 256x256 or as 512x512 or as 1024x1024 to .svg and/or to .png with alpha and no matter what the size is and no matter what the extension is, they always look shtty compared to the built-in icons. Even exact copies of the built-in vector icons exported to .svg look shtty.
It seems like there’s some special, internal C function I’m supposed to pass these things to to get them to render nicely with UI. Either that or there’s some secret, super precise thing I’m supposed to do that you either just know or don’t know.
Anyone have experience with this?
In this image, you see that the 3 built-in ones on the left are blurry, but not choppy. But icons 4, 5, 6, and 7 are choppy, then the built-in one on the right in place #8 is back to smooth. It seems like there’s some kind of smoothing algorithm being applied to the built-in ones that isn’t being applied to the custom ones. They aren’t necessarily super sharp, they’re a tad blurry, but they definitely aren’t choppy. So I don’t think it’s drawing the .svg directly, because it does look smoothened.
Maybe I should smoothen mine in Ai?