-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export_scale自适应不同宽度的图片 #84
Comments
发现一个微信的坑wx.getImageInfo在开发工具和某些机型上获取图片宽高,如果图片的原始信息上方向为right或left,会把宽高的值取反导致绘制的图片直接变形,需要判断一下方向将宽高改回来。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
直接修改组件里的pushImg方法就可以自适应不同宽度的图片裁剪生成图
The text was updated successfully, but these errors were encountered: