Skip to content

image-resizer文件夹处理优化及比例计算问题修复 #5

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Dec 2, 2024
Merged

Conversation

ding-chengjie
Copy link

@ding-chengjie ding-chengjie commented Dec 2, 2024

Summary

fix:https://gitee.com/react-native-oh-library/usage-docs/issues/IB7G88

  • 修复计算缩放比例 widthRatio的问题
  • 处理压缩图片的宽和高将vp更改为px
  • createResizedImage方法支持在应用沙盒目录cache文件夹下的子文件夹的处理

Test Plan

FF0F66BE-4B02-442B-BA28-ADC47E17B14B

Checklist

  • 已经在真机设备或模拟器上测试通过
  • 已经与 Android 或 iOS 平台做过效果/功能对比
  • 已经添加了对应 API 的测试用例(如需要)
  • 已经更新了文档(如需要)
  • 更新了 JS/TS 代码 (如有)

@yuangerep yuangerep merged commit 4581d2f into react-native-oh-library:sig Dec 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants