Add support for xyz.amorgan.blurhash in ImageContent
This adds an optional key to ImageContent, for displaying a blurhash on the client before an image is loaded.
Example consumer in Neochat: https://invent.kde.org/network/neochat/-/merge_requests/1151
I'd be happy to see the blurhash generation code in the library too - would you mind moving it over here from the NeoChat MR? :)
I'd be happy to see the blurhash generation code in the library too - would you mind moving it over here from the NeoChat MR? :)
Sure can!
Okay the blurhash implementation has been moved here, will update the NeoChat MR accordingly
Okay I took a look at it once again and the same question from above holds: what's the point of having the protected interface and the whole class in fact? Why not a namespace with two functions and the rest pulled into the .cpp backend?