brunobar79 / J-I-C

J I C is a Javascript Image Compressor using HTML5 Canvas & File API that allows you to compress your jpeg & png images before uploading to the server (100% client-side and no extra libraries required!)
http://makeitsolutions.com/labs/jic/
MIT License
857 stars 196 forks source link

PNG's getting larger after compression #29

Closed justin-glorvigen closed 8 years ago

justin-glorvigen commented 8 years ago

I can't seem to get it to actually compress a png file on the demo page. I tried the attached file with the default compression ratio of 30 and the file size went from 2765KB for the source file to 4089KB for the "compressed" file. I also tried different compression ratios but they didn't seem to change anything in the output file.

03-23-2016-07-33-20--153290107-02-09-2016-11-53-15--1869943628-image6

genesiscz commented 8 years ago

Take a look here. It may help a lot

brunobar79 commented 8 years ago

I just merged in @genesiscz PR #24 so this should be fixed.