Tuesday, August 16, 2011

[android-developers] Re: BitmapFactory.DecodeBytearray

At first check if your byte array is not Null?
In addition, check if the captured image is of "JPEG,GIF,BMP or PNG
format?
/Musfiq

On Aug 16, 11:03 am, "B.Arunkumar" <awsnetworkrecor...@gmail.com>
wrote:
> Hi all,
>       I have got a byte array decoded from the ffmpeg decoder which I
> am trying to render on an ImageView. I tried to convert the byte array
> into a Bitmap using BitmapFactory.DecodeByteArray but it returns null
> and does not display anything.
>
>     Can anybody give me any suggestions?
>
> Thank you,
> B.Arunkumar

--
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

No comments:

Post a Comment