cameraview icon indicating copy to clipboard operation
cameraview copied to clipboard

Preview doesn't show whole picture

Open Serhii-the-Dev opened this issue 8 years ago • 7 comments

I've build a fragment containing a CameraView instance and a toolbar, just like the default Android Camera app. I am trying to achive a smooth transition between a preview and a taken photo, but on some devices preview showing only a part of a picture, while resulting image is looking normal. I've tried to tweak the adjustViewBounds parameter, but it changes nothing. It seems like photo is top-cropped inside a CameraView preview, so user can't see a whole picture before taking a shot. P.S. I've figured out that changing of a width and height according to an optimal size value here may help, but a preview image is not centered according to its frame.

Serhii-the-Dev avatar Nov 11 '16 02:11 Serhii-the-Dev

same here

mladenrakonjac avatar Dec 28 '16 14:12 mladenrakonjac

I've got the same issue. The preview from the CameraView is cropped or zoomed, but the picture taken is full size

josh-burton avatar May 06 '17 00:05 josh-burton

same here

andyxialm avatar Jun 08 '17 03:06 andyxialm

I'm having the same issue.

themeshpotato avatar Jun 22 '17 10:06 themeshpotato

seeing same issue. can't use the lib...

itaybia avatar Aug 03 '17 09:08 itaybia

Anybody found any solution for this? I too facing similar issue while catching with front cam.

iLeafSolutionsPvtLtd avatar May 07 '19 08:05 iLeafSolutionsPvtLtd

+1

drayan85 avatar Jul 22 '19 10:07 drayan85