Skip to content
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

是否有maxH,maxW功能 #212

Open
hongjunsu opened this issue Mar 5, 2018 · 2 comments
Open

是否有maxH,maxW功能 #212

hongjunsu opened this issue Mar 5, 2018 · 2 comments

Comments

@hongjunsu
Copy link

现在有这么个需求,屏幕的尺寸是固定的,比如1080 * 720。
展示图片,图片的尺寸不是固定的,为了展示出最佳的效果,横竖都没有滚动条,不会被拉伸,尽可能的清晰,则需要设置图片宽不能 > 1080,高不能 > 720
则需要有maxH,maxW功能

@buaazp
Copy link
Owner

buaazp commented Mar 15, 2018

确实是少一种规定画布大小,不允许裁剪的方法,考虑将来支持。

@wdyzpf
Copy link

wdyzpf commented Jun 19, 2018

h=10000000,然后就死了,最好加上限制

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

No branches or pull requests

3 participants