Skip to content

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

@wesoly935

Description

@wesoly935

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions