pyheifpillowopener是一个简单的HEIF/HEIC开瓶器,适用于pyhief库上的枕头底座。
pyheif-pillow-opener的Python项目详细描述
皮海夫枕头开瓶器
pyheif pillow opener是一个基于pyhief库的pillow的simpleHEIF/HEIC开启器。在
安装
您可以安装pyheif枕头开启器从PyPi安装:
pip install pyheif-pillow-opener
或来自GitHub:
pip install https://github.com/ciotto/pyheif-pillow-opener/archive/master.zip
如何使用
from PIL import Image
from pyheif_pillow_opener import register_heif_opener
register_heif_opener()
image = Image.open('test.heic')
image.load()
如何作出贡献
这不是一个大图书馆,但如果你想贡献是非常容易的!在
- 克隆存储库
git clone https://github.com/ciotto/pyheif-pillow-opener.git
- 安装所有要求
make init
- 进行修复或添加新的令人敬畏的特性(通过测试)
- 运行测试
make test
- 在新分支中提交并发出请求
许可证
在MIT License下发布。在
- 项目
标签: