7
1
Similar to the mass rescaling command this site taught me here, is there a command-line trick for mass recoloring?
To make it specific, suppose I have a bunch of images with RGB and alpha values:
apple_original.png
pear_original.png
banana_original.png
and so on. I want to have a command-line command to give me the following:
apple_orange.png
pear_orange.png
banana_orange.png
where in each case, the R, G, and B values for each pixel have been multiplied by 1, 0.5, and 0, respectively, and the alpha has been left alone. Is that possible?