I could go down the long rabbithole of figuring out how to call g*mp's image manipulation tools from a commandline or API, or getting imagemagick installed on this PC and figuring out how to port it over there...
or I could be silly and take advantage of the fact that I'm applying gamma ramps to an 8-bit greyscale image. What's the difference between the "before" and "after" images? a different palette.
@foone this is why I struggled with programming, and stuck to server/network admin; I could never tell which were the clever ways, and which were the stupid ways 😖
@foone@whitequark Extra points if the solutions is also really cursed. God, I love it when every vtable, bitbanding region and DMA controller cowers in fear of what I will do to them x)
@foone
Last time I was messing around with palettes, I had accidentally created gif animations with more than 256 colours and needed to work further with them
Amazing how things break if you have an animated gif with more than 256 colours
@foone I did something like this to implement a solid-edge toon-shading look to solid-color models on the PS2 in 2000! I gave the polygons a 1D texture where the color ramp was smooth except for a few discontinuities.