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" <[email protected]>
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to