lukejagodzinski / meteor-pngquant

Lossy compression of PNG images for Meteor
MIT License
2 stars 0 forks source link

PNGQuant is not defined #1

Open boblikesoup opened 8 years ago

boblikesoup commented 8 years ago

Thanks for assembling this.

I read versions past 1.0 (which this uses) are superior.

Before finding this out I still couldn't get it to work. I ran "meteor add jagi:pngquant" and tried using PNG Quant like instructed in my JS "PNGQuant('/src/path/to/file.png', '/dest/path/to/file.png', [256, '--speed=1']);" but am getting a "PNGQuant is not defined" error.

lukejagodzinski commented 8 years ago

Hi, the problem is with builds. When I was creating this package I didn't know that I have to build package for every possible platform. It uses PNG Quant library that doesn't get installed automatically. You have to manually install this library on you computer. From what I remember on the official website you have binaries for all operating systems.