I’ve been digging but what I found is either in c++ with setPixel and getPixel plus ccImage or works with canvas.
I’m using JSB and the target is both Android and iOS so both solution above won’t work for me.
For start I have a huge sprite sheet in PNG format and a (2048pixel*2048pixel) png
And the total colour is only 8 rgb colour with transparency.
I want to let user customise the character by selecting the replacing rgb colour (e.g. black to white or blue to red)
I can prepare my png in Photoshop with alternate colour that 64 times of the texture in actual data size.
If anyone has good solution, please help.