Hey my freands pls help me I won't to get bitmap x,y iwont to control
bitmap x , y tell me how
On Aug 19, 11:06 am, eldo iameldoja...@gmail.com wrote:
I want to createbitmapfrom ImageView.
Will you guide me.
Now i am creatingbitmapfor Images from res/drawable by using
BitmapmBitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.pic1);
then I am getting color array for thisbitmapby using
mBitmap.getPixels(pix, 0, picw, 0, 0, picw, pich);
Presently I am creatingbitmapof images only from res/drawable, I
want to creatbitmapfor any image
e.g I have Image in ImageView object (picked from media provider or
captured from camera)
So how should getbitmapfor this image, will you guide me, I am not
getting any function from BitmapFactory.
My aim is get color array for any image, I am referring
thishttp://www.developer.com/java/j2me/article.php/10934_3748281_3
(download this project from this page Under reference heading) Its
tutorial on Image.
My main Goal is to just color array of any image
(mBitmap.getPixels(pix, 0, picw, 0, 0, picw, pich); here pix is color
array)
--~--~-~--~~~---~--~~
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, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---