【文件属性】:
文件名称:pyexr:一线EXR IO库
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-05 06:08:08
Python
PyEXR
一个简单的Python EXR IO库,简化了的使用。
安装
sudo apt install libopenexr-dev # (ubuntu)
brew install openexr (mac)
pip install git+https://github.com/jamesbowman/openexrpython.git (dependency)
pip install pyexr
读
简单文件
import pyexr
file = pyexr . open ( "color.exr" )
file . channels # [R, G, B]
file . width # 1280
file . height # 720
file . channel_precision
【文件预览】:
pyexr-master
----setup.cfg(44B)
----LICENSE.md(1KB)
----setup.py(454B)
----README.md(3KB)
----.gitignore(37B)
----pyexr()
--------exr.py(9KB)
--------__init__.py(308B)