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

假设我的屏幕是 800 * 600 的,我要把一个 1200 * 1200 的图片才建成 1000 * 1000 的我应该怎么做呢,目前是搞了滚动条,但是效果比较差,还有其他方法么? #866

Open
xuxchao opened this issue Jan 2, 2025 · 2 comments

Comments

@xuxchao
Copy link

xuxchao commented Jan 2, 2025

No description provided.

@xyxiao001
Copy link
Owner

xyxiao001 commented Jan 6, 2025

可以通过enlarge进行等比输出,比如你容器是400 * 400,然后截图框固定为200 * 200,然后设置enlarge为5,输出的图片就是固定1000 * 1000了

@xuxchao
Copy link
Author

xuxchao commented Jan 7, 2025

@xyxiao001 这个我尝试了一下,发现图片中的数字不会变化。在一个 mode 设置为 cover 或者 contain 图片是展示不全的。
image

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

2 participants