/pgf2webp

Simple C library + Node.js module to convert PGF images to WebP

Primary LanguageC++MIT LicenseMIT

pgf2webp

This is a simple C library with an associated Node.js module to convert PGF images to WebP. PGF files are used by programs like Digikam to store their thumbnails, but are not easily consumable by web browsers, this is where this module can help.

Given that the Node module is in C++, the C interface wasn't strictly needed, but it didn't cost much and can come in handy when binding from other languages.

This code depends on the upstream libpgf and libwebp for the decoding/encoding of images.