You can grab a 480x320 picture, but it still takes a while to come
back after you call takePicture.

The preview format is some YUV format.  I think it's like YUV420P.
I've been able to decode the luminance part (Y) (it's just in-order
byte values), but I haven't tried to recover the color part.


On Oct 25, 2:06 am, blindfold <[EMAIL PROTECTED]> wrote:
> That's what I'm afraid of, that the G1 can only capture at full
> resolution. I do use image manipulation APIs for downscaling whenever
> possible, but that initial G1 hi-res snapshot presents the bottleneck
> in performance and memory (failure with OutOfMemoryError on the real
> G1). I hope that the Android Team can at very short notice specify the
> unspecified G1 camera properties, since required APIs for querying
> supported camera resolutions are missing in SDK 1.0 r1. Furthermore, I
> would normally be decoding a low-res preview image instead, but the
> SDK 1.0 r1 APIs do not support decoding of the (again unspecified)
> preview format, while the preview cannot even be properly positioned
> and sized on the screen due to, again, incomplete APIs (let alone
> their implementation).
>
> I'm close to being forced to give up on Google Android because of its
> immaturity in media processing (in my case camera input, audio
> output). Moreover, it is very frustrating to have no indication
> whatsoever when the various problems will be fixed. My equivalent
> application for Java ME runs fine on almost all modern Nokia (S60)
> camera phones (plus some other brands), so I am not talking about any
> unrealistic goals here but just talking about fixing what is broken or
> missing in Google Android and its implementation on the T-Mobile G1.
>
> Thanks
>
> On Oct 25, 12:58 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > I don't know if it's the case, but it's possible the camera ONLY
> > captures at full resolution and to get lower resolution you're
> > intended to use the image manipulation APIs... someone will need to
> > confirm this however
>
> > On Oct 24, 4:53 pm, blindfold <[EMAIL PROTECTED]> wrote:
>
> > > I urgently need to know the *lowest* still image resolution supported
> > > by the T-Mobile G1. Is it for instance 640 x 480 (VGA)?
>
> > > Thanks
>
>

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