Black line around image

Hello!

I’ve run into an issue where there is a black line on my image and I don’t know how to get rid of it. Any ideas?

image

It isn’t there in photoshop.

Try cropping the last 2-4 pixels on each edge of the image.

Tried trimming 5 pixels from each side and the black line is still there.

I have experienced this same issue in the past. To prevent/minimise it follow the following steps:

  1. Select whatever layer you wish to export

  1. Press Ctrl + A to select the layer within the entire file
  2. Press Ctrl + C to copy the layer
  3. Click File > New > Create (The file size should automatically be sized to match the size of the layer (in pixels))
  4. Press Ctrl + V to paste the layer into the document size

  1. Export as you usually would by saving as a PNG/JPEG and import into Roblox as per usual.

This should prevent any loose pixels from translating into Roblox. I hope this was of help buddy!