Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

图片会变形 #24

@qilovehua

Description

@qilovehua

描述 / Description

图片返回的宽高是800 * 1700,实际图片不是这个比例的。
正常返回的应该按比例缩小保持原有图片的宽高比。
比如1000*2000的图片应该返回800 * 1600,而不是返回800 * 1700图片变形没法看。
launchImageLibrary( { selectionLimit: 1, mediaType: 'photo', maxWidth: 800, maxHeight: 1700, presentationStyle: 'fullScreen', }, res => { this.checkImage(res); }, );

复现步骤 / Steps to reproduce

No response

库版本 / Library version

15.0.0

React Native OpenHarmony version

0.72.27

构建类型 / Build type

Release app & production bundle

设备 / Device

Real device

设备版本 / Device model

Mate 60 pro

已悉知 / Acknowledgements

Yes

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