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

Loses Transparency In PNG Image #184

Open
choudhary-ankit opened this issue Jan 1, 2024 · 2 comments
Open

Loses Transparency In PNG Image #184

choudhary-ankit opened this issue Jan 1, 2024 · 2 comments

Comments

@choudhary-ankit
Copy link

While attempting to compress a PNG image, it loses its transparency. I have tried specifying the mimeType value as both 'auto' and 'image/png', but in both cases, the PNG image loses its transparency. Can you help fix this issue?

@Ramishscrapper
Copy link

I also facing the issue in the png that I cannot compress the png file

image

@fengyuanchen
Copy link
Owner

If you set the mimeType option to 'image/png', you may also need to set the strict option to false.

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