Main Menu

News:

LINKS: Website | Steam | Wiki

Change all occurrences of a color

Started by Eagoth, November 13, 2019, 02:20:54 PM

Previous topic - Next topic

Eagoth

Hi, guys.

This should be easy, but I don't find how to do it. I want to change all glyphs of an image of the same color to another color (let's say, turn every red glyph to blue). Kind of what Fill does, but without the need of them being connected.

The manual says something about Color Shifting, but it's not the same.

Thanks!

Kyzrati

Hey Eagoth, what you're looking for is in the section prior to Color Shifting, "Palette Swapping." It's a subfeature of that, since both colors you want to swap must be in the current palette (you can temporarily put them there if they're not in there already).

From the manual:
QuoteTo swap all instances of a single color throughout an image (foreground and background, all layers) with another in the same palette, Shift-LMB on the first color and then Shift-LMB on the color you want to change it to.
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon