slim_pixels library
Bounded synchronous and worker image transforms with Dart-owned encoded results.
Use SlimPixels.transformSync with typed operations and encoding options. Use SlimPixelsWorker for a reusable asynchronous worker. Native assets support Windows and Linux x64.
Classes
- Crop
- An integer crop in the current image, using an exclusive right/bottom edge.
- ImageEncoding
- Immutable output encoding options supplied by this library.
- ImageFormat
- An output format. Handle future formats with a default switch branch.
- ImageOperation
- An immutable geometry operation applied to the preceding result.
- ImageResult
- An encoded image owned by Dart, with metadata from the native operation.
- JpegEncoding
- JPEG encoding options; nonopaque alpha is rejected at execution.
- PngEncoding
- Lossless PNG encoding of the transformed pixels.
- Resize
- A resize with an explicit output size or bounding box.
- ResizeFilter
- A resize filter applied to encoded color values without alpha correction.
- SlimPixels
- Synchronous image processing with isolate-local native initialization.
- SlimPixelsErrorCode
- A stable failure category, independent of backend error types.
- SlimPixelsWorker
- Sequential image processing in one persistent isolate with a bounded queue.
- WebpLosslessEncoding
- Lossless WebP encoding of the transformed pixels.
Enums
Exceptions / Errors
- SlimPixelsException
- A known initialization, processing or worker failure.