blurhash-python icon indicating copy to clipboard operation
blurhash-python copied to clipboard

Python version of the BlurHash encoder

Results 6 blurhash-python issues
Sort by recently updated
recently updated
newest added

Can this be used with data in an variable/ram or does it always need to be written to disk?

Providing max_size to encode() will first resize the image to max_size (by creating an Image thumbnail), and will then create the blurhash. Resizing first will achieve much faster hashing for...

Has there been consideration for building for other platforms like Windows? Most people use this which automates the whole process for you: https://github.com/pypa/cibuildwheel Thank you!

I'd like to be able to easily use this library on macOS and windows but without published wheels it is difficult. To that end I've added a github actions workflow...

Blur hash does not work in production, optimization should be done on handling the network files

Before: ```python In [1]: from blurhash import encode, Image ...: im = Image.open('/Code/imgs/bologna2k.jpg').copy() ...: %time im.size, encode(im.copy(), 9, 9) CPU times: user 12.1 s, sys: 12.1 ms, total: 12.1 s...