blurhash_ffi
blurhash_ffi copied to clipboard
a port of blurhash to flutter written in c via dart:ffi
One fell swoop for (#1 & #2 ), #1, Rust and flutter_rust_bridge has support for web through WASM, probably there is a way to target current C code to compile...
### Sometimes Decoding Large Images (filled to screen) from the blurhash string is crashing the app. - It's working fine on Android Emulator - It's working fine on iOS real...
The data at offset 0x1E should be the compression method rather than the channel number https://github.com/folksable/blurhash_ffi/blob/c24986763bb3abb801ec7491448924c86a9b8f9d/lib/blurhash.dart#L555 https://en.wikipedia.org/wiki/BMP_file_format#DIB_header_(bitmap_information_header)
Hello, I currently use `flutter_blurhash` in my projects, and sometimes I come across the `Bad state`, as you can see [here in this issue](https://github.com/fluttercommunity/flutter_blurhash/issues/40). I quickly analyzed the package, and...
Is plan for web env support?
It's evident from the usage, and how it's implemented that it's faster compared to pure dart implementation, having native C code running the image processing algorithm of encoding and decoding...
run `` final String blurHash = await BlurhashFFI.encode(FileImage(file)); ``  