[android-developers] Re: BitmapFactory 's decodeByteArray and decodeStream returns null
The API is declared in bitmap.h. You will have to learn how to use it
on your own. Just make sure you have a Bitmap object and can set its
pixels directly using the config it was created with. Your pixels
array must exactly match what the config demands.
Doug
On Sep 19, 10:32 pm, Siji T G <s...@techgentsia.com> wrote:
> Donug, You mean to use bitmap.h ??
> Could you please provide me some sample code in C for setting pixels of
> bitmap.
> I have data in
> jbyteArray out_buf.
>
> How to set out_buf as pixels of bitmap??
> Thanks in advance.
--
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