WangYuLue / image-conversion

A simple and easy-to-use JS image convert tools, which can specify size to compress the image.
https://demo.wangyulue.com/image-conversion/
MIT License
909 stars 140 forks source link

When specifying image/png as type in combination with widht, images dont get compressed at all #59

Open Duskfen opened 1 year ago

Duskfen commented 1 year ago

When specifying width(/or height) and the type, images won't get compressed at all.

See screenshots from the demo: image image

fengliye commented 1 year ago

in fact no matter you specify width or not, if you specify image/png then the images won't get compressed, i got the same problem and confused me a lot too T_T