imagekit_ffi
library
Classes
Flags
Common flags bitmask; individual codecs may ignore some of them.
Minimal, codec-agnostic header.
ImageCodec
A unified codec contract implemented by JPEG/PNG/WebP.
ImageCodecs
Simple factory to pick a codec by signature or file extension.
PngKit
Static, stateless PNG codec.
TurboJpeg
@override, stateless API for JPEG ⇄ pixels and lossless transforms.
WebpKit
XformOptions
Transform options. JPEG uses all; PNG/WebP ignore perfect/trim.
Enums
PixelFormat
Stable pixel formats shared across codecs.
Values are chosen to match libjpeg-turbo TJPF_* for easier interop.
PNG/WebP glue converts internally as needed.
Subsampling
Subsampling modes
TransformOp
Lossless transform ops (JPEG is truly lossless; others simulate in RGBA).