Gradient mapping

Can we have a gradient mapping feature?

Could you give an example of what you mean by gradient mapping? (I’m new to pixel art, so maybe it’s a standard term – can you tell me where to find it in Photoshop or some other program?)

gradien mapping from my understanding a graident representing all the tones, like from black to white and you can you can put colors along that gradient and the tone on your art will be assigned acording to that gradient. Sorry I’m not super good at explaining, so here’s a example.
metroid example

gradient map example
sorry for double posting but I wanted to better show what gradient mapping does.
Also if this can be implimented it’d be nice to have the ability to save gradients but if that’s too much I don’t mind.

1 Like

gradient map is so useful that i’d like it to have additional features:

  1. option to choose between mapping to values and mapping to palette - it would also be nice to be able to load palette to target gradient directly.
  2. option to choose between smooth gradient, discrete steps by color stops and discrete steps by number.

with these features the gradient map could be used in the same way as in other program (map to values, smooth gradient), but it could also be used to completely recolor image / change palette size / do reasonable posterization in just a single step with a lot more control over the result than what automated palette remapping and rgb to index conversion offer.

1 Like

oh those sound great, I never would of thought about those ideas :slight_smile:

1 Like

sorry to necropost but I wanted to try one last time at getting this suggested as a feature. I find it really interesting and it’d be a neat feature for a sprite program to have. It’d make recoloring really easy to if someone wants to test out palettes on a character.

1 Like

i support this a great deal, gradient maps are incredibly fun! thought first we would need to remake the gradient tool to support the a system like those krita and other programs use for gradients…

2 Likes

Is that hard to do? I know nothing about scripting.

i dont know, its more like, but i guess with the way aseprite does gradients it could be more troublesome, thought regardless it would be a major reowrk for the tool, the kmind of thing you only see in major releases

1 Like

Yeah you’re probably right but hopfully one day :slight_smile:

Some features mentioned above look do-able to me. To see what I mean, here’s a video:

The script used is from here. There’s plenty of jank yet, I’m sure, as it’s easy to underestimate how hard UI and UX can be. :slight_smile:

A little simpler, the existing shades widget can be used for multi-color gradients with evenly distributed keys. For example, 4 colors would be key steps at 0, 25, 50 and 100%.

What I don’t see as practical --not with a Lua script anyway – is a responsive, non-destructive workflow (as with adjustment layers or nodes). And that workflow is, I imagine, what attracts people to, for example, Dan Fessler’s HD Index Painting method, which in turn generates interest in gradient mapping.

I’ve only heard of GIMP’s ggr as a file format specifically for gradients. GIMP gradients work differently than others in that each color key has a left, middle and right edge. Krita calls these segment gradients. imho, segment gradients are too much hassle to bother with. The file format, though, is in plain text. It can be imported and exported through a Lua script. It can be resampled to another type of gradient on import.

Gradient import and export can always piggyback on palette formats like pal, gpl and act, so long as one ramp per palette is understood… Or someone could invent a new gradient file format and hope it catches on.

2 Likes

I really appreciate the script suggestion beheandtjeremy :slight_smile:

x.com I did find person on twitter named kam it seems that dacap has reposted their work. They seem to also be working on gradient map script with both normal gradient maps and dithered gradient maps. They haven’t posted about since january but maybe they’d consider sharing the script in the future. I’ve only seen one of their scipts shared publically on itch.io that being their isometric generator so idk if they’d need to be contacted to share it.