反应本机使用图像getize()获得宽度和高度
我使用image.getSize()调整URI图像大小。
在iOS 的情况下,获得了正确的图像尺寸值,
但是在Android 的情况下,大图尺寸的输出较小,尽管比率正确。
iOS:1)900 7350 2)900 7350 3)900 5800 4)1000 1066 5)900 1086
ANDROID:1)225 1838 2)225 1838 3)225 1450 4)1000 1066 5)900 1086
我该怎么办?
I used Image.getSize() for resizing the uri image.
In the case of iOS, the correct image size value was obtained,
But In the case of android, the large image size is output with a small value although the ratio are correct.
ios : 1)900 7350 2)900 7350 3)900 5800 4)1000 1066 5)900 1086
android : 1)225 1838 2)225 1838 3)225 1450 4)1000 1066 5)900 1086
What should I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论