Open incloudss opened 3 years ago
pixels[,] for CoreEncode() must have linear(0-1) RGB values, not 0-255 with sRGB gamma.
A sample is here. https://github.com/MarkusPalcer/blurhash.net/blob/master/Blurhash.ImageSharp/Encoder.cs
Does the System.Drawing.Common.Blurhash
package not work for you?
Because that's the already implemented version to blurhash an Image. The idea behind that is that the core contains the actual algorithm and based on that there are different libraries for different imaging libraries (like System.Drawing or ImageSharp)
Hi,
Library generates constant
L~TSUA~q0000~q4S00~q~q000I~q
hash. I am using belows piece of code to blurhash my images: