blurhash_flutter

Creator: coderz1093

Last updated:

0 purchases

blurhash_flutter Image
blurhash_flutter Images

Languages

Categories

Add to Cart

Description:

blurhash flutter

blurhash #
This library is a Blurhash algorithm implementation for dart. For more information or other implementations go to https://github.com/woltapp/blurhash.
Instead of showing boring placeholders, just show an idea of the picture while the actual picture is loading! Images can be converted to Base83 on your backend or while uploading in the frontend. Afterwards, you can send the Base83 string to your frontend. The client can then decode the Base83 string and draw the blurred image.




Original
Blurred




Image





Based on the hash q.NK3Mt7WrofayazbHj[l.TkCWBWCj[j@f6azIUWXjZWBWCjsoLayM{ofazayjZa#Wqj[kCWBj[bHWXj[jZWVt7WCs:ofa}axjZay
Example usage
See the example in example_main

Getting started #
Include the library in your project. Then call the decoder with a valid Base83 string
Image.memory(blurhash.Decoder.decode(hash, 300, 200))
copied to clipboard
Credits go to Dag Ă…gren / Wolt for this idea.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.