[android-beginners] RGB from bitmap

2009-11-02 Thread Andareena Vootog
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

Re: [android-beginners] RGB from bitmap

2009-11-02 Thread Jeffrey Blattman
http://developer.android.com/reference/android/graphics/Color.html On 10/31/09 4:31 AM, Andareena Vootog wrote: 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