Recoloring pixels in a bitmap using 'lookup table?

If you don't want to set each pixel individually you have two options.

If you don't want to set each pixel individually you have two options. One is to set patches of pixels at the same time with setPixels(int, int, int, int, int, int, int): The other is to create a new bitmap using an array of colors: createBitmap(int colors, int offset, int stride, int width, int height, Bitmap. Config config) Both methods are explained in the Android Bitmap docs.

Thanks for the response. I suppose I will use getPixels to pull the data out as an array of integers, operate on each value of the array and create a result bitmap using: createBitmap(int colors, int offset, int stride, int width, int height, Bitmap. Config config) – user999764 Oct 17 at 19:30 Great, if you feel like this answer helped then please consider accepting this as the answer by clicking the checkmark under the upvote/downvote buttons.

– slayton Oct 17 at 19:34.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions