RxCamera icon indicating copy to clipboard operation
RxCamera copied to clipboard

Set the size of the saved image

Open magdamiu opened this issue 8 years ago • 1 comments

Hello,

I tried to save the image at a high resolution using this method: setPictureSize with RxCamera.getNativeCamera but it doesn't seam to work.

cameraParameters = rxCameraResult.getNativeCamera().getParameters();
cameraParameters.setPictureFormat(ImageFormat.JPEG);
cameraParameters.setPictureSize(2592, 1944);
rxCameraResult.getNativeCamera().setParameters(cameraParameters);

takePicturesObservable = rxCamera
                                .request().oneShotRequest()
                                .observeOn(Schedulers.newThread());

Please could you give me an idea about what I'm doing wrong?

Thank you!

magdamiu avatar Feb 06 '17 07:02 magdamiu

What's the finally picture size you got

ragnraok avatar Feb 26 '17 15:02 ragnraok