[quote] Probably because it’s being decreased a lot in size to appear at the resolution.
Upload the Words and background panel as one image and it should fix it.
If you didn’t notice, the decal behind also has an outline on it at the lower resolution. [/quote]
The black outline appears whenever the image has to be rescaled. It means that even by increasing it’s width / length by a single pixel, we get the outline.
And I need the images to be separate for animation purposes.
Pretty sure this is a common thing when scaling images with alpha edges. At least it’s been true for Roblox’s GUI images for as long as I can remember. I’d recommend keeping images the same size that you upload them.
The Unity link is correct - this is a result of bilinear filtering of images that are not using premultiplied alpha. It can be solved by using premultiplied alpha (but not in Roblox, since Roblox does not support premultiplied alpha) or by flood-filling transparent regions with the correct color (this is what that link mentions - this should work in all engines).
If this does not work for you it’s likely that either the flood-filling does not work or the image editor does something bad with the alpha channel when saving the image…
[quote] The Unity link is correct - this is a result of bilinear filtering of images that are not using premultiplied alpha. It can be solved by using premultiplied alpha (but not in Roblox, since Roblox does not support premultiplied alpha) or by flood-filling transparent regions with the correct color (this is what that link mentions - this should work in all engines).
If this does not work for you it’s likely that either the flood-filling does not work or the image editor does something bad with the alpha channel when saving the image… [/quote]
We could implement premultiplied alpha but this is at odds with some compressed formats that we use for internal content (i.e. particles etc.), so we’d need some way to tag images as being premult vs non-premult…
Fixing the image assets is not hard though. I can do it in ~1 minute in GIMP (attached). The problem is that website seems to break my image after uploading by reconverting it to PNG and saving color info…
I’ll try to figure out why website breaks the images.
The steps I used to fix the above image were:
Using XnView, do Image → Remove alpha channel on the original image and verify that the background is black. For filtering to work without artefacts, the background should seamlessly blend with the visible data - i.e. be blue-ish (or whatever that color is… turquoise?)
Switch to editing just the color by clicking on color thumbnail
Use Color Picker tool to choose the turquoise from background
Use Paint Bucket tool and click somewhere in transparent region. The visible image in canvas does not change but you can see the thumbnail in Layers view to change
Export as PNG, make sure to check “Save color values from transparent pixels”
Using XnView, verify that after removing the alpha channel the color channel does not have a black background
This image works locally (can use rbxasset:// to load it in Studio and test). Website breaks it upon upload.
We’re still tracking down all the places that this caused some minor problems. The good news is that we’re pretty sure we know about all of them and we’re just about finished cleaning everything up.
I know this is frustrating to have it fixed and then disabled almost immediately. Thanks for being patient with us.