Alexander Karpinsky

Results 93 comments of Alexander Karpinsky

Pillow is a python-only library. There are no plans to support other languages. There was at least one attempt from @peterhj to port Pillow-SIMD to Rust: https://github.com/peterhj/pillow_simd_ffi https://github.com/peterhj/pillow-simd/commits/bootstrap-imaging

This changes are unrelated to Pillow-simd, which doesn’t have binary builds. It always uses system-provided versions of libraries

> libvips also has adaptive convolution resample as well as fixed window interpolators -- it has two completely different paths for the two systems. Could you disclose why they are...

I don't think that `reduce` is actually adaptive: Pillow: ![_out pillow](https://user-images.githubusercontent.com/128982/31505113-c95e9db6-af7c-11e7-89a8-d83536e5a5f5.png) `im = im.resize(0.1, kernel='linear')` ![_out vips resize](https://user-images.githubusercontent.com/128982/31505122-d4b11b12-af7c-11e7-8552-2b008ffb4a70.png) `im = im.reduce(1.0 / 0.1, 1.0 / 0.1, kernel='linear')` ![_out vips reduce](https://user-images.githubusercontent.com/128982/31505135-e02f8d84-af7c-11e7-99ce-75bbb28d5350.png)...

This is package builded by myself: ![screen shot 2016-12-09 at 14 16 42](https://cloud.githubusercontent.com/assets/128982/21047307/39d38b10-be1a-11e6-811e-f036a24b5c7f.png) After building i've found application in pkgroot/Applications. It doesn't require password.

I have no problems with this image with pyheif 0.5.1, libheif1 1.11.0 and recent versions. Try following to find actual reason: ```python import pyheif pyheif.read('./heif_image.heic') ```

By the way, macOS 13.4.1 opens `t.avif` as a completely black plane.

> Perhaps we should just make the cmake test require at least 3.6.1? Not "at least 3.6.1", but anything except 3.6.0?

For normal-size images speedup is also about ~~33x~~ ~~53x~~ 129x. Before: ``` In [1]: from blurhash import encode, Image ...: im = Image.open('/Code/imgs/bologna2k.jpg').resize((360, 240), Image.BICUBIC) ...: assert encode(im.copy(), 6, 4)...