Skip to content

图片压缩,关于maxWidth或者maxHeight #416

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

Closed
liugonghe opened this issue May 6, 2019 · 3 comments · Fixed by #521
Closed

图片压缩,关于maxWidth或者maxHeight #416

liugonghe opened this issue May 6, 2019 · 3 comments · Fixed by #521
Labels
to-be-confirmed Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@liugonghe
Copy link

图片压缩,如果compressImage方法参数option里传了maxWidth或者maxHeight,compress.js里的doScale方法缩放有bug,图片并没有合理如期的完整缩放!

@forrest-mao forrest-mao added the to-be-confirmed Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jul 21, 2020
@forrest-mao
Copy link

仅七牛内部员工可见:https://jira.qiniu.io/browse/TS-973

@yinxulai
Copy link
Collaborator

yinxulai commented Mar 3, 2021

能否补充没有如期的细节,例如,图片尺寸对不上?或者发生了变形?出现了雪花?
以方便我们进一步跟踪

@hojas
Copy link

hojas commented May 7, 2021

是按原比例缩小的吗?

@yinxulai yinxulai linked a pull request Jul 15, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to-be-confirmed Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants