sony_camera_api
sony_camera_api copied to clipboard
Verify jpeg image format.
sometime jpeg image is broken. I don't know about the reason. but there are two point.
- wrong jpeg size.
- wrong jpeg data.
sony official app have similar act looks like broken image. then official app don't update latest image and show previous image. (looks like stopped)
there are two solution.
- Same as like official app
- fix wrong size or data. (if can....)
there are not broken jpeg but not enough data from camera. so, should wait until get enough data size.
solution:
- calculate data size.
- wait until specific size (should know that data size).
- draw picture using that data.