Open choudhary-ankit opened 10 months ago
I also facing the issue in the png that I cannot compress the png file
If you set the mimeType
option to 'image/png'
, you may also need to set the strict
option to false
.
As mentioned here:
Set the convertTypes option to [] or ''. Or set the convertSize option to Infinity.
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?