kornelski / pngquant

Lossy PNG compressor — pngquant command based on libimagequant library
https://pngquant.org
Other
5.19k stars 483 forks source link

Feature wish - COM/ActiveX #373

Open FrontierDK opened 3 years ago

FrontierDK commented 3 years ago

Is there any chance this program will be available as a COM/ActiveX component? :-)

kornelski commented 3 years ago

I'm not a Windows programmer, so the chances are very slim.

It is usable as a C library (https://pngquant.org/lib/), so presumably you can wrap that in logic that exports it as COM.

In case you want to use it in C#, there's P/Invoke way: https://github.com/ImageOptim/libimagequant/blob/44525d34b738f733a81037286ece603ca0fdcf10/libimagequant.cs