Sreekanth Karumanaghat
Sreekanth Karumanaghat

Reputation: 3403

image byte stream manipulation

I have 1Kb of the bytes from an Image,can I make that part of Image b/w in any way(Reference:I want to manipulate large Images in android,so I am trying to make that b/w by using a Byte Stream) Thank you in advance for your valuable time...

Upvotes: 1

Views: 223

Answers (1)

Maxim
Maxim

Reputation: 3006

It is not a solution, just idea. Convert that stream to color array. You can decode Bitmap through BitmapFactory.decodeStream method. Then call bitmap.getPixels method to get int array with color values. And after that you can change color of any pixel of the bitmap.

Upvotes: 1

Related Questions