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

The compressed result of png is larger than the source file #235

Open
Azer1205 opened this issue Aug 16, 2021 · 3 comments
Open

The compressed result of png is larger than the source file #235

Azer1205 opened this issue Aug 16, 2021 · 3 comments

Comments

@Azer1205
Copy link

对图片进行宽高不变的压缩时,如果结果类型时png类型,压缩结果的大小会比原图片还大。

@oxUnd
Copy link
Collaborator

oxUnd commented Aug 28, 2021

这个不是用来压缩的呀?
你的意思是,原图啥都不做,弄出来比原来的大是吧?

@iuws
Copy link

iuws commented Nov 22, 2021

是的,什么都不做,会比原图大
Images(sourceImageBuffer).save(savePath)

@oxUnd
Copy link
Collaborator

oxUnd commented Nov 23, 2021 via email

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

3 participants