blurhashx 1.0.0
blurhashx: ^1.0.0 copied to clipboard
A high-performance Flutter implementation of the BlurHash algorithm with native Skia image decoding. Built with ❤️ for the Tethxr app.
1.0.0 #
- Initial release of
blurhashx:- High-performance BlurHash encoding and decoding with hardware-accelerated image decoding via
dart:ui.ImageDescriptor. - Added
BlurHash.encodeImageBytes()to directly encode raw file bytes (JPEG, PNG, WebP, GIF, etc.) in ~5ms. - Separable 2D Discrete Cosine Transform (DCT) and linear-light box-filter downsampling.
- Precomputed 256-element sRGB-to-Linear RGB lookup tables (LUT) and 1D cosine lookup tables.
- 100% compatible with the official BlurHash and NPM
blurhashspecifications. - Background isolate execution via
BlurHash.encodeAsync(). - Support for customizable
componentXandcomponentY. - Comprehensive validation, $O(1)$ average color decoding, and error diagnostics.
- High-performance BlurHash encoding and decoding with hardware-accelerated image decoding via
