Skip to content

Set the size of the saved image  #61

@magdamiu

Description

@magdamiu

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions