blurhash_dart library

Classes

BlurHash
ColorTriplet
ColorTriplet by default is used to encode colors in linear space. If you need the color in sRGB see ColorTripletExtensions.toRgb.

Functions

decodeBlurHash(String blurHash, int width, int height, {double punch = 1.0}) Uint8List
Deprecated. Please use BlurHash.decode and BlurHash.toImage instead. Decode a BlurHash to raw pixels in RGBA32 format
encodeBlurHash(Uint8List data, int width, int height, {int numCompX = 4, int numpCompY = 3}) String
Deprecated. Please use BlurHash.encode instead. Encodes an image to a BlurHash string