I use the Camera class to take a picture and want to do some image processing inside onPictureTaken. How can I interpret an array of bytes? Is it in RGB format or something else? Thank.
the links say it depends on Camera.Parameters ( Camera.Parameters ), and in this post ( Re: FileOutPutstream code from onPictureTaken ) they say that you should use the jpeg callback, so I assume it is jpeg.
mCamera.takePicture(null, null,mPictureCallbackRaw);
mPictureCallbackRaw - Camera.PictureCallback
mPictureCallbackRaw
Camera.PictureCallback
, , :)
Source: https://habr.com/ru/post/1778444/More articles:How to declare a template function with an optional compile-time parameter? - c ++Parse JSON string for error detection - jsoncascading values in the ul> li hierarchy with javascript / jquery closure - javascriptconverting a date parameter to a simplified format using iReport - jasper-reportsWhy does mysql SELECT with "LIKE word% word2" in the where clause not use the index - performanceHow to plan / content queue for future publication? Post to PHP? - phphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1778446/porting-mmxsse-instructions-to-altivec&usg=ALkJrhgoXQ8A1Zn_sAHDsiEEmoxg0DbYogHow to connect certificate to C # client for ODATA service? - certificateAndroid: как центрировать изображения обрезки без масштабирования - androidprogrammatically use UISearchDisplayController - iphoneAll Articles