-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
[Feature]: 图片处理方式:只填入宽或者高,另一边自适应 #81
Comments
目前piclist是支持按百分比缩放,我的理解是新增类似于百分比缩放保持高宽比,但是可以指定高宽中的其中一项? @eallion |
嗯,差不多是这样的,指定一项,另一项等比例缩放。 |
Kuingsmile
added a commit
that referenced
this issue
Aug 1, 2023
太有效率了!赞! |
@Kuingsmile 我终于记起来原型了,是腾讯云的图片处理。(打扰了) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
前置阅读 | Pre-reading
PicList的版本 | PicList Version
v1.9.8
系统信息 | System Information
Windows
功能请求 | Feature request
图片上传前的处理方式:
根据 EXIF 信息,或其他方式,先确定图片是横版还是竖版,然后只填入宽或者高,另一边自适应。
比如:
1920x1080.jpg
1440x1200.jpg
300x400.jpg
当限制宽度为 800 时,这些图片的高度就自动计算,不足设定值时,保持原来大小,结果:
1422x800.jpg
960x800.jpg
300x400.jpg
限制高度同理。
(非常优秀的项目,已赞 🎉)
The text was updated successfully, but these errors were encountered: