Get the latest tech news
Show HN: PlutoFilter- A single-header, zero-allocation image filter library in C
A single-header, zero-allocation image filter library in C - sammycage/plutofilter
Compatible with SVG and CSS filter semantics, it makes it easy to reproduce visual effects consistently across platforms. By default, it expands to extern, but if you define PLUTOFILTER_BUILD_STATIC before including the header, all functions will be declared static instead. The amount controls the intensity, where 0 leaves the image unchanged and 1 applies full sepia coloration.
Or read this on Hacker News