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

缩略图生成的图片变形了。 #74

Open
mrjucn opened this issue Dec 23, 2022 · 2 comments
Open

缩略图生成的图片变形了。 #74

mrjucn opened this issue Dec 23, 2022 · 2 comments
Assignees

Comments

@mrjucn
Copy link

mrjucn commented Dec 23, 2022

貌似只有当图片是正方形的时候才会不变形。这样的话,长方形图片生成的缩略图就很难看了。
可以修改成居中裁剪吗,多余的裁剪掉无所谓。变形看起来是真的难受额。

我看源码解决了。打扰大佬啦。zc = 1 就好了。默认的不裁剪只缩放。值为 0.

@icret icret self-assigned this Feb 4, 2023
@vvnocode
Copy link

哪里的zc?

@ChiehJang
Copy link

ChiehJang commented Jun 2, 2023

附议,希望大佬调整不等宽图片的缩略图显示效果💡

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

4 participants