fluttercommunity / fluttercommunity/flutter_blurhash

Extract color avarages from the BlurHash(for whole image and for seperate sides)

Open
#5 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Dart
Stars
574
Forks
77
PR merge metrics
No merged PRs in 30d

Description

> [The data representation makes it quite easy to extract colour averages of the image for different areas. You can easily find approximations of things like the average colour of the top edge of the image, or of a corner. There is some code in the Swift BlurHashKit implementation to experiment with this. Also, the average colour of the entire image is just the DC component and can be decoded even without implementing any of the more complicated DCT stuff.](https://github.com/woltapp/blurhash)

They stated that it is "easy" but I could not find a way to extract the main color of an image from the blurhash code. It also says we can easily extract this info for the sides of the image. Reminds me of Phillips ambilight TVs.

This can be a cool feature.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.