Fixing images in Roblox ui (black outlines)

I seem to be getting this error when I click ok.

image

1 Like

I restarted gimp and it didn’t give any error but the transparent parts are still black for me.

1 Like

Huh. I didn’t have this issue. You may have mixed versions of gimp installed, may want to uninstall and reinstall.

1 Like

This was apparently fixed multiple times, no?

2 Likes

This has saved me

3 Likes

I wrote a javascript app that automates this process. It uses the same algorithm as the alpha-bleeding program I posted a while back, but is more accessible since you don’t have compile it yourself. Most importantly, you can run it entirely from your browser!

You can access it at

Online Javascript Editor (right side of the page)

or

https://pastebin.com/raw/81QpWtsv (save this as an .html and run it in your web browser)

How to run:

  1. Open the page.
  2. Click choose file and select the file you want to bleed.
  3. An image should appear in a black box at the bottom of your page. Save this image.
63 Likes

Love it. Does it just do alpha bleeding but does it also double the size of the image?

1 Like

It just bleeds. Any reason why you’d have to double the size, though?

1 Like

The second part of the tutorial is showing that if you want a 50x50 image to be clearer, you should double its size. It said something about aligning it to a grid and that you can’t just simply resize it, though, so it makes sense that your tool doesn’t have that feature.

1 Like

So this was never fixed?

6 Likes

hmm.

2 Likes

I’ve been using your article to make my UI’s look nicer, but recently I’ve encountered a problem which is if I use offset the whole time to make my images crispier then they will not scale on all devices. I assume there’s no way to make image look crisp while using scale?

1 Like

Sadly not :^(

1 Like

To add on to this topic, I would strongly consider using these same methods mentioned in the OP for MeshParts. Consider this example:

Before

After

5 Likes

For Photoshop users:
Don’t download any plugins, photoshop has it built-in.

Layer > Matting > Defringe.
I usually enter betweeen 2-10 pixels to be safe, doesn’t really matter most of the times.
image

Black outlines? Vanished!

13 Likes

This is going to help so many new UI designers out there! Amazing tutorial, Quenty! :+1:

2 Likes

I’d still recommend the original solution, because after trying that for a few minutes:

5 Likes

True! Forgot to mention that it doesn’t handle stuff with opacity very well. The most common example would be drop shadows or any type of glow.

I’ve never noticed a major change around thin strokes though. Thanks! :slight_smile:

4 Likes

Very sorry for the bump, but the GIMP solution isn’t working for this one image.

path

After importing it into GIMP, resizing the canvas and then doing the fix, I get this result.

image

3 Likes

Idk if Roblox is screwing with my head, but this was literally workong for me this morning. Now, a few hours later I go back into my game, and all the images have the black outlines again.