See http://code.google.com/p/android/issues/detail?id=823

Android 1.5 still lacks support for decoding preview images, while data
[] is headerless. The first width x height bytes are just the Y
(brightness) component though, so you can easily decode the greyscale
part pixel-by-pixel. However, doing so at Android level remains
painfully slow.

On May 27, 7:07 am, "[email protected]" <[email protected]> wrote:
> Does anyone know how to decode the camera data from the
> PreviewCallback? I need to capture camera preview frames and process
> the bitmap obtained by decoding the frames before displaying.
--~--~---------~--~----~------------~-------~--~----~
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