nativescript-camera
nativescript-camera copied to clipboard
[Android] Bad resolution for pictures in hight resolution
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.
resolution in screen ... change this..