![]() |
tinyimg 1.0.0
Lightweight image manipulation library for Cloudflare Workers
|
One container format's implementation. More...
#include <codec.h>
Public Attributes | |
| TinyImageFormat | format |
| TinySniffFn | sniff |
| TinyProbeFn | probe |
| TinyDecodeFn | decode |
| TinyEncodeFn | encode |
One container format's implementation.
A NULL decode or encode means the format is recognized but that direction is not implemented, which callers see as TINYIMG_ERR_UNSUPPORTED_CODEC rather than as an unknown format.
| TinyDecodeFn TinyCodec::decode |
Decodes pixels, or NULL when this build cannot read the format.
| TinyEncodeFn TinyCodec::encode |
Encodes pixels, or NULL when this build cannot write the format.
| TinyImageFormat TinyCodec::format |
The format this codec handles.
| TinyProbeFn TinyCodec::probe |
Reads the header without decoding pixels.
| TinySniffFn TinyCodec::sniff |
Tests a buffer's magic bytes.