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

[Android] Bad resolution for pictures in hight resolution #240

Open
wesoly935 opened this issue Feb 27, 2020 · 1 comment
Open

[Android] Bad resolution for pictures in hight resolution #240

wesoly935 opened this issue Feb 27, 2020 · 1 comment

Comments

@wesoly935
Copy link

For example taken photos in 8 Mpx resolution (3264x2448) returning ImageAsset in resolution 1920x1080.

Changing options keepAspectRatio not resolve my problem.
Is any option to get real image and resolution?

I checked a temporary file saved in application, picture has good resolution, as setted in camera option.
After load to ImageAssets, resolution is changing.

let asset = new imageAssetModule.ImageAsset(picturePath);
                        asset.options = {
                            width: reqWidth,
                            height: reqHeight,
                            keepAspectRatio: shouldKeepAspectRatio
                        };
                        resolve(asset)

This place return bad resolution of image.

@ZaKull
Copy link

ZaKull commented Mar 18, 2020

resolution in screen ... change this..

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