-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Size of the image generated by putalpha is twice as big, how can this be solved? #6287
Comments
When you say "twice as big", twice as big as what? If you mean that it is twice as big as the JPEG that you opened, PNG is a lossless image format, while JPEG is a lossy format. It should be no surprise that the the PNG equivalent of a JPEG image is larger. If you mean something else, please specify, and also kindly upload your test image so that we can replicate your situation more exactly. |
I presume you don't mean that it is twice as big as it would be without a call to |
Yes, there is also a problem that the speed is a bit slow, how to solve this kind of |
If you are dealing with a large JPEG, that might slow your code down. Removing |
Thank you. |
Example code:
The text was updated successfully, but these errors were encountered: