开源软件名称(OpenSource Name):bbrks/go-blurhash开源软件地址(OpenSource Url):https://github.com/bbrks/go-blurhash开源编程语言(OpenSource Language):Go 100.0%开源软件介绍(OpenSource Introduction):go-blurhashA pure Go implementation of Blurhash. The API is stable, however the hashing function in either direction may not be. Blurhash is an algorithm written by Dag Ågren for Wolt (woltapp/blurhash) that encodes an image into a short (~20-30 byte) ASCII string. When you decode the string back into an image, you get a gradient of colors that represent the original image. This can be useful for scenarios where you want an image placeholder before loading, or even to censor the contents of an image a la Mastodon. Under the covers, this library is almost a straight port of the C version, which is known to encode images slightly differently than the TypeScript implementation. ContributingIssues, feature requests or improvements welcome! LicenceThis project is licensed under the MIT License. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论