Skip to content

perf: 对已经压缩过的图片不进行再次压缩。 #1

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

Open
vincent931018 opened this issue Aug 12, 2020 · 4 comments
Open

perf: 对已经压缩过的图片不进行再次压缩。 #1

vincent931018 opened this issue Aug 12, 2020 · 4 comments

Comments

@vincent931018
Copy link

可以给已经压缩完的图片加一个hash,如果已经压缩过,就不对其再次进行压缩,节省时间。也是防止图片多次压缩失真。

@JowayYoung
Copy link
Owner

好的,后续着手优化,谢谢建议

@vincent931018
Copy link
Author

@JowayYoung 或者我可以提个PR么 哈哈

@JowayYoung
Copy link
Owner

可以的,提了PR我再合并啦

@JowayYoung
Copy link
Owner

大佬,欢迎提PR呀

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