olokelo / jxlpy

Cython bindings and Pillow plugin for JPEG XL
MIT License
45 stars 12 forks source link

pip #1

Closed doublex closed 2 years ago

doublex commented 3 years ago

Even if alpha - could you add this package to pypi.org?

olokelo commented 3 years ago

Yes, I could. It was in my plans originally but I decided not to do it yet because of current alpha stage of this project. I would probably need to configure the build environment in order to publish wheels. Anyway I will do that as soon as I can, so maybe later this week :)

styler00dollar commented 2 years ago

Please create a pip package on pypi. I spent hours trying to compile this and I still can't figure out how to do so due to random errors.

olokelo commented 2 years ago

Took me a while but finally it's done :)

For now wheels are available only for Linux distros but if someone wanted to have wheels also on a different platform, we could figure it out.

Also, I would really appreciate testing this new wheels.

styler00dollar commented 2 years ago

Some quick testing inside Manjaro shows that the pillow plugin is indeed functional and working. Only tried to read and write simple RGB images with different quality/effort and lossless write. Thanks. You may want to add from jxlpy import JXLImagePlugin to the readme, since I just looked inside the code to figure that out.