lxsmnsyc / blurhash-as

Blurhash implementation in AssemblyScript
MIT License
31 stars 1 forks source link

Feat: get average color #7

Open ThatOneCalculator opened 1 year ago

ThatOneCalculator commented 1 year ago

fast-blurhash has a useful function called getBlurHashAverageColor that, as the name implies, gets the average color from the blurhash as an array of 3 r, g, and b integer values.

lxsmnsyc commented 1 year ago

Interesting. Do you have a link to the implementation?

ThatOneCalculator commented 1 year ago

https://github.com/mad-gooze/fast-blurhash/blob/main/index.js#L44

lxsmnsyc commented 1 year ago

Thanks! I'll look into it