Mobile app version of vmapp.org
Login or Join
Hamm6457569

: Upload photoshop-created PNG to Discord without changing colours Here's an icon made with photoshop: Looks fine when I open it in Preview or Safari. When I upload it to discord, the colours

@Hamm6457569

Posted in: #AdobePhotoshop #Color #Png

Here's an icon made with photoshop:



Looks fine when I open it in Preview or Safari.

When I upload it to discord, the colours change completely:



I'm assuming this is due to the fact that photoshop saved it with an embedded color profile? And Discord isn't rendering it with this colour profile?

E.g. I've noticed photoshop's RGB values are different than my system-wide rgb values:



All I want to know is, how can I take that PNG (the first one) and make it so that when I upload it to discord it will still look the same?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm6457569

1 Comments

Sorted by latest first Latest Oldest Best

 

@Megan533

I came up with a method that avoids photoshop because it seems every time I touch that everything breaks. My method is to take the graphic created with photoshop, and use it to punch a hole through a sample of the color that I want.

I opened that png, the one that was meant to be my icon, in Preview.app (not photoshop because photoshop was messing everything up) and then maximise contrast, made saturation as low as possible, and mess around with other settings, like maximising/minimising exposure, to make it completely black on a transparent background.

Then I cmd-A copied it all, drew a white rectangle, and pasted it down again. So now my original image is a completely black-on-white icon.

The color settings in Preview let you invert colours by moving the leftmost levels arrow to the right, and the rightmost to the left.

Now it should be white-on-black. Save that. This will be a mask.



Then I screenshotted the color I actually wanted. I used Preview's resize to resize that color to a 1000x1000px square (the size of my final image). Just a solid color. Screenshotting a solid block of color from the original png that you want to preserve the color of (first image of question) would have worked too.



Then I ran this command with imagemagick:

convert color.png mask.png -alpha off -compose copy_opacity -composite warningicon.png


It spat out exactly what I wanted, which was a png of the correct color that doesn't weirdly change colours when uploaded to discord.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme