Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the size of the saved image #61

Open
magdamiu opened this issue Feb 6, 2017 · 1 comment
Open

Set the size of the saved image #61

magdamiu opened this issue Feb 6, 2017 · 1 comment

Comments

@magdamiu
Copy link

magdamiu commented Feb 6, 2017

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!

@ragnraok
Copy link
Owner

What's the finally picture size you got

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants