Python bindings for TinyEXR(OpenEXR loader/saver)
Project description
PyEXR
Loading OpenEXR (.exr) images using Python.
It is basically a Python binding for tinyexr. Use CMake to build the module (uses pybind11). Installation script is not there, you can simply copy the resulting python module files. Supports loading functionality, saving can be easily added (pull requests welcome!).
Usage
from pytinyexr import PyEXRImage
# Load an EXR image (tinyexr backend)
img = PyEXRImage('2by2.exr')
# Print basic details
print(img)
# Pixel values access
r = img.getPixel(x,y,0)
g = img.getPixel(x,y,1)
b = img.getPixel(x,y,2)
a = img.getPixel(x,y,3)
# Numpy:
m = np.array(img, copy = False)
# or
rgb = np.reshape(np.array(rgb_img, copy = False), (rgb_img.height, rgb_img.width, 4))
# a matrix of (height x width x channels)
# Display
from PIL import Image
Image.fromarray(np.clip(np.uint8(rgb*255.0), 0, 255)).show()
PyPI package
PyPI package is registered as pytinyexr: https://pypi-hypernode.com/project/pytinyexr/
$ pip install pytinyexr
For developer
For each release, upload source distribution from local.
$ rm -rf dist && python setup.py sdist
$ twine upload dist/*.tar.gz
Notice.
Python2.7 wheel is not provided.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file pytinyexr-0.9.1.tar.gz
.
File metadata
- Download URL: pytinyexr-0.9.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa51aae41084159d6bf8d315d9e17d296268f590481653899a478fa0e68790d0 |
|
MD5 | 5569ab87c886fab8dad7951fb5bb71da |
|
BLAKE2b-256 | 6914472675f0e5ba2a544c28a6be6e906eb5341535c2cc25eb51c42509fdfc85 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 107.5 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fe2cbeb3919864cfe95609cd3f9614931d4ef2d77b4909250689a0f1046474d |
|
MD5 | 874ef02bfeeed143b2a8b34b71a558af |
|
BLAKE2b-256 | b47e556ac4f96d0caa2e1c2bdaf6483e5ddae6c59b3aa9b62e96d5e4de42f943 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp38-cp38-win32.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp38-cp38-win32.whl
- Upload date:
- Size: 92.7 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d64933787fe245051aa5a7c8ca322fd3ecb83a68e335593ca7ed8f16696b7d7 |
|
MD5 | e04f03652013bc118fdbc4027be65ad9 |
|
BLAKE2b-256 | d7293b342abd2d51da7c5dab50ab5c643de64c8e62c68ff338659df854dee7d3 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d360abbc3e37965ae374a7919bd75b5c25f61d89c8eee1877c95a06aa05813cb |
|
MD5 | ce3e5841e59cfd80cb7c3f0fca939726 |
|
BLAKE2b-256 | f4dea69663bfc88cf7e1524710a1919db50d7f78ef72d57c8357f880de5ba292 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp38-cp38-manylinux2010_i686.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp38-cp38-manylinux2010_i686.whl
- Upload date:
- Size: 987.9 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fccb815d1b9f825da8e3f7b81735023fc651ba134976fb1f82f962d22e0e4eed |
|
MD5 | c4d5bb241f04c1123a5754a928a5a6d6 |
|
BLAKE2b-256 | d84ef4c9ddbaa70b70083a3e54d8cf476f39f867b6736d8de82b70d8aab4380f |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 143.1 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23b24cb591c74516747f66182945440b92fade6d57d5909fd33347a571e62da1 |
|
MD5 | 59028bb5a1afa802b12f32f84f669767 |
|
BLAKE2b-256 | 5bb577dfc553021dd1ea96f52b881f014bc5be7a769c9c46cb15ca0b659339bf |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 108.6 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4db9014dff7e73823c3116fd4f113d1aa2509976fef3069b17d95e0e862244b2 |
|
MD5 | f6326d9244209cd83063de1a1b101df1 |
|
BLAKE2b-256 | 60d200b4ec3761c6ef38a76fa0a4311935f52196692c1ee55b3fac0d4d48e585 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp37-cp37m-win32.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp37-cp37m-win32.whl
- Upload date:
- Size: 93.4 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 683b5b3acaa752849bc5f99405115ae3705102c388e893e6222acdedbe494e03 |
|
MD5 | 80ef05b88af49075815cf763b94fe23e |
|
BLAKE2b-256 | a45b160fe88dc919b38e3f0145d1af623b4d9e5ac5133f36c0d2a4a85ae10606 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f07e144cea4e96c69ec817e6f8cff42ba0bea2fa8a97e07107f18be3fb710731 |
|
MD5 | c2a7b1bc4fc06f319cb7d900cc9bf6fd |
|
BLAKE2b-256 | 3d38fd1db3b1318ee4e56fbf4e7bfe3d093e06f79bef511d169b6e9f94f09d13 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp37-cp37m-manylinux2010_i686.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp37-cp37m-manylinux2010_i686.whl
- Upload date:
- Size: 983.2 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03074e76ea75cdd9bed1290c76bfdad2c79f47764fae39db26e00d07c56f43bd |
|
MD5 | ec42968b01f907cb6c97aaf4c01317f4 |
|
BLAKE2b-256 | b8ab404f5c5266b413d24209f8fff5f41e8deaf5bbb352561965c2b9321f40eb |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 142.3 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc8071e2ee87968c399a6f069e5911d0558056fe9d7920a3aae8df01ce438f50 |
|
MD5 | 26681f07b650825b7b6182211898f0a9 |
|
BLAKE2b-256 | d5de773a3c56d1275d5f1e54e4aedd51ab786128ee2f5778c752d38d634edf63 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 108.6 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8b2b0359a606770e7eb2f1b6b57da338d0b3097232142ccbedc715959f34a84 |
|
MD5 | 0fe02291ecbbec35b7b6f579705ef0dc |
|
BLAKE2b-256 | 101fe6447f507e14514713ff7fa29f53ed5dff717bdb36eebc1dda585c243c8f |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp36-cp36m-win32.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp36-cp36m-win32.whl
- Upload date:
- Size: 93.4 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b192dc3bb10dd5d74eb298ccd775e1d3b9085994e14fd42e7ede70caaa13265c |
|
MD5 | b5bb3ddb21d007fbb40bd469f10103a9 |
|
BLAKE2b-256 | 6f731b1ac468237e9bf9028f8577bb9c72a3e3565f541057546929ad09c035f8 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e5d02e95357189c8e1b4656cfba36f8fa6bcf441cb5ae42669a0f84282d9987 |
|
MD5 | 8fe9c3e530ddbe1f75c66616a7aae0c3 |
|
BLAKE2b-256 | ff18b607d014ffd329f581fca3614bcd9fce479c084a514123abfb165eef8a20 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp36-cp36m-manylinux2010_i686.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp36-cp36m-manylinux2010_i686.whl
- Upload date:
- Size: 982.9 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be099e4d21fc307074f2e5e6fa3577f8b77d347c6701a34a6ef4a9178c3fdd3a |
|
MD5 | 5099fb282f2c7069b5f535956c4cdc68 |
|
BLAKE2b-256 | 95f04fbf9d05912d73617c7259a687080dc65b9e0ec1c4ec40f86e8694ab7c84 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 142.2 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 548c9e610bc54a22adcf0f26e7755a058695385ac7fc56428be708579668ceef |
|
MD5 | 9aab1cdc9b2d7aa79c8187733d122782 |
|
BLAKE2b-256 | f438c14005525a7a6cc374b81091015134ba1e1d69da1d230e98c6c8873ea3b5 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 108.6 kB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 798352d826e024edcdc784382d345639ddf37dd8c550b988321081ccdb6878a8 |
|
MD5 | 81889bb2bba7385648407b4d4548f7ee |
|
BLAKE2b-256 | 7b6b314e86b333ff4aa8bc068b43c6817ca468e1de7ddead2d074b3811a21d33 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp35-cp35m-win32.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp35-cp35m-win32.whl
- Upload date:
- Size: 93.4 kB
- Tags: CPython 3.5m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e657775d094cad70e2fb5520d60c2ffad9cbd0f3c015b1f5c5c109b57db3f2f |
|
MD5 | a6b3040dcdd79dbf874621584417f87e |
|
BLAKE2b-256 | 6ff1ea2487cb13356505889604c0afe8cc38fb0285907d567a05917bb5a917a4 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp35-cp35m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp35-cp35m-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ee37e8019c0c02b2d33288d43aea42aedaabec290bce4af33113f49f5b67181 |
|
MD5 | 27c3cefb467a56df660b02217f749041 |
|
BLAKE2b-256 | e168aeeab0e0a57b8d0c8c1f5c8f4b6596c4de035d364a844f7eab18080c06fb |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp35-cp35m-manylinux2010_i686.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp35-cp35m-manylinux2010_i686.whl
- Upload date:
- Size: 982.5 kB
- Tags: CPython 3.5m, manylinux: glibc 2.12+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2f6c6ad4a70cca0e5d21d19937d46b54aafd0b9f2ba9d33bc1a94561cff6bce |
|
MD5 | cc344833a7b623bb1994934e9eaefc64 |
|
BLAKE2b-256 | 382ab5b3ed3be9811824e093e2a5468b83bc5ad2ac8b756f8a0269292f54fd80 |
Provenance
File details
Details for the file pytinyexr-0.9.1-cp35-cp35m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: pytinyexr-0.9.1-cp35-cp35m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 137.3 kB
- Tags: CPython 3.5m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dd467763d428983e8b8f9a670c5a9effa5dd6331f52271f5445b9b73e8b4f1e |
|
MD5 | 970f60d434d315567f1a71468ca85960 |
|
BLAKE2b-256 | 9858277c4473fb3e853a4302b336041fa1726ce01c5b7e5c620e11c658dbfcef |