[android-developers] Re: Getting RGB data from Android bitmap
On May 17, 4:12 am, Naveen <naveen...@gmail.com> wrote:
> Any help pls. on my query?
>
if your image is too big create smaller one, for example two times
smaller:
WebView browser;
Picture p = browser.capturePicture();
Bitmap b = Bitmap.createBitmap( p.getWidth() / 2, p.getHeight() /
2, Bitmap.Config.ARGB_8888);
Canvas c = new Canvas(b);
c.scale(0.5, 0.5);
p.draw(c);
pskink
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home