Ah, so you're worried that the jpg results in a crappy image? Might be digging into the source on this one and seeing what's up with it, it does seem like this should be an option, doesn't it? But I'm not sure how camera hardware works.
Kris On Sun, Sep 4, 2011 at 2:33 PM, Appaholics <[email protected]> wrote: > I was looking to do more with the Android camera. Personally I have nothing > against the formats that are currently supported, except that a good > photographer (which I am not) would be able to get a much better image if > all the camera data is kept in a raw format for post processing. As this is > not supported by the SDK itself my only two options seem to be to modify the > firmware (something I am not keen on doing) and writing my own interface to > the camera (something I have no idea on how to achieve). While it is > possible to convert a raw image into a png or a jpeg it is not, AFAIK, > possible to do it the other way around. > Mostly this app idea came out of curiosity with some practical use at the > edge of my thought process. > Thanks > > On Sun, Sep 4, 2011 at 11:57 PM, Kristopher Micinski > <[email protected]> wrote: >> >> Raghav, >> >> out of interest, why not write a decoder write to take <insert encoded >> format here> to <insert unencoded format here>? Is it just out of >> interest? Or perhaps that you feel the unencoded image capture would >> be less work for the library? >> >> I really don't know things about media, but I'd be interested as to >> your rationale for why what the library provides isn't enough. >> >> Kris >> >> On Sun, Sep 4, 2011 at 1:05 PM, Appaholics <[email protected]> >> wrote: >> > Thanks for the help Mark but I don't think that any of them would come >> > close >> > to a raw format. I am not that knowledgable in photography though so >> > maybe a >> > photographer who is on this list could help. >> > Thanks >> > >> > On Sun, Sep 4, 2011 at 9:31 PM, Mark Murphy <[email protected]> >> > wrote: >> >> >> >> Cameras should support one or more of the ImageFormat types: >> >> >> >> >> >> http://developer.android.com/reference/android/graphics/ImageFormat.html >> >> >> >> as determined by calling getSupportedPictureFormats() on >> >> Camera.Parameters. setPictureFormat() on Camera indicates that Android >> >> supports JPEG, NV21, and RGB_565. >> >> >> >> I am no expert on image formats, so I have no idea if any of them >> >> qualify for any of the available definitions of "raw": >> >> >> >> http://en.wikipedia.org/wiki/Raw_image_format >> >> >> >> On Sun, Sep 4, 2011 at 11:47 AM, Appaholics <[email protected]> >> >> wrote: >> >> > Hi, >> >> > I have been going through Google searches and the Android docs but I >> >> > am >> >> > still not clear on this. I would like to know if it is possible to >> >> > get >> >> > the >> >> > raw image data from the camera using the Android SDK. Some of the >> >> > examples I >> >> > looked through said that it was possible but the image returned was >> >> > always a >> >> > jpg or png. >> >> > So can I get the raw image from the camera? >> >> > Thanks >> >> > >> >> > -- >> >> > ------------------ >> >> > Raghav Sood >> >> > CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles >> >> > required to have complete control) >> >> > http://www.raghavsood.com/ >> >> > https://market.android.com/developer?pub=Appaholics >> >> > http://www.appaholics.in/ >> >> > >> >> > -- >> >> > 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 >> >> >> >> >> >> >> >> -- >> >> Mark Murphy (a Commons Guy) >> >> http://commonsware.com | http://github.com/commonsguy >> >> http://commonsware.com/blog | http://twitter.com/commonsguy >> >> >> >> _The Busy Coder's Guide to Android Development_ Version 3.6 Available! >> >> >> >> -- >> >> 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 >> > >> > >> > -- >> > ------------------ >> > Raghav Sood >> > CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles >> > required to have complete control) >> > http://www.raghavsood.com/ >> > https://market.android.com/developer?pub=Appaholics >> > http://www.appaholics.in/ >> > >> > -- >> > 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 >> >> -- >> 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 > > > -- > ------------------ > Raghav Sood > CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles > required to have complete control) > http://www.raghavsood.com/ > https://market.android.com/developer?pub=Appaholics > http://www.appaholics.in/ > > -- > 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 -- 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

