Hi,

    Thank you for your reply. The byte array is not null. It has
values like 81,-27,..... The image coming from the ffmpeg decoder is
in ARGB format. There are frames coming in from a camera which is
decoded in ARGB format and converted to byte array using env-
>NewByteArray and env->setByteArrayRegion in native JNI code.

Thank you,
B.Arunkumar

On Aug 16, 9:44 pm, musfiq <[email protected]> wrote:
> 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