0

Please help me to understand how i can set setJpegQuality(int i) in my Camera2API?

I have surfed google and there are not a lot sample how to do it in CameraAPI, but there are any samples how to make it with Camera2API...

I have found this , but maybe anyone know how to set it for Camera2API?

Thanks!

Amit Vaghela
  • 22,772
  • 22
  • 86
  • 142
Sirop4ik
  • 4,543
  • 2
  • 54
  • 121
  • Try this https://github.com/googlesamples/android-Camera2Basic – Sunil Sunny Jul 04 '16 at 12:13
  • @sunilsunny i use this sample and it save picture in default quality 84... Question is how to pick this quality up? – Sirop4ik Jul 04 '16 at 12:19
  • Can You use this post to answer your question ?http://stackoverflow.com/questions/20420682/android-camera-parameters-setjpegquality-deprecated-custom-camera-application – Calixto Jul 04 '16 at 12:42
  • @Calixto no, because this question connect with CameraAPI, but my connect with Camera2API – Sirop4ik Jul 04 '16 at 12:49

0 Answers0