Skip to content

小程序版本在IOS中,选择图片超过1024*1024显示不出来。 #37

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

Open
myHoro opened this issue Oct 27, 2021 · 2 comments
Open

Comments

@myHoro
Copy link

myHoro commented Oct 27, 2021

微信小程序版组件在IOS系统中(部分手机不行),选择图片尺寸超过1024*1024图片不能正常显示(如图)。
bug

@newbieYoung
Copy link
Owner

newbieYoung commented Oct 27, 2021 via email

@ElegantBrick
Copy link

ElegantBrick commented Feb 14, 2023

不知道还有人关注这个问题不?
我现在的解决方案是把

<canvas type="2d" style="width:{{_contentWidth}}px;height:{{_contentHeight}}px;" class="crop-content"></canvas>
<canvas type="2d" style="width:{{_contentWidth}}px;height:{{_contentHeight}}px;" class="crop-result"></canvas>

改成

<canvas type="2d" class="crop-content"></canvas>
<canvas type="2d" class="crop-result"></canvas>

crop-content 影响展示;crop-result 影响保存。
没有细抠逻辑,目前一切正常,作者大佬怎么看?
另外这个插件真心好用,感谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants