Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
spng.h
✓ #include <spng.h>
Open and decode a PNG file using libspng
#include "spng.h"
#include <cstdio>
int main() {
FILE* f = fopen("image.png", "rb");
spng_ctx* ctx = spng_ctx_new(0);
spng_set_png_file(ctx, f);
// decode image...
spng_ctx_free(ctx);
fclose(f);
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.