hi
if you are using bitmap, use an integer array to store the
bitmap. use bitmap.getPixel() to get the corresponding bitmap in
integer array. By using bitwise rotation operation, we will get RGB
values. (Also byte array can be used). See the code below.
int[] pix = new
Bitmap bmp = ImageView.getDrawable().getBitmap();
Then loop through the bitmap with
Bitmap.getPixel()
On 10月31日, 上午3时50分, Liviu Ungureanu smartli...@gmail.com wrote:
Hi all!
I just want to ask if is possible to get the array with colors from a
ImageView?
Thank you!
--
You received this
Thank you!
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options,
3 matches
Mail list logo