Skip to main content

PyEXR

Build Status

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.org/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.

Metadata

Release files for pytinyexr 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytinyexr 0.9.1
File Size Uploaded
pytinyexr-0.9.1.tar.gz 4.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pytinyexr 0.9.1
File
pytinyexr-0.9.1-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
pytinyexr-0.9.1-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
pytinyexr-0.9.1-cp38-cp38-manylinux2010_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-64 Details
pytinyexr-0.9.1-cp38-cp38-manylinux2010_i686.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-32 Details
pytinyexr-0.9.1-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
pytinyexr-0.9.1-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
pytinyexr-0.9.1-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
pytinyexr-0.9.1-cp37-cp37m-manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details
pytinyexr-0.9.1-cp37-cp37m-manylinux2010_i686.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-32 Details
pytinyexr-0.9.1-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details
pytinyexr-0.9.1-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
pytinyexr-0.9.1-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
pytinyexr-0.9.1-cp36-cp36m-manylinux2010_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 Details
pytinyexr-0.9.1-cp36-cp36m-manylinux2010_i686.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-32 Details
pytinyexr-0.9.1-cp36-cp36m-macosx_10_9_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 Details
pytinyexr-0.9.1-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
pytinyexr-0.9.1-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
pytinyexr-0.9.1-cp35-cp35m-manylinux2010_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-64 Details
pytinyexr-0.9.1-cp35-cp35m-manylinux2010_i686.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-32 Details
pytinyexr-0.9.1-cp35-cp35m-macosx_10_9_x86_64.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.9+ x86-64 Details

Total release size: 10.7 MB

Release files / pytinyexr-0.9.1.tar.gz

Download URL pytinyexr-0.9.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
aa51aae41084159d6bf8d315d9e17d296268f590481653899a478fa0e68790d0
BLAKE2b-256 checksum
How to use checksums
6914472675f0e5ba2a544c28a6be6e906eb5341535c2cc25eb51c42509fdfc85
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp38-cp38-win_amd64.whl

Download URL pytinyexr-0.9.1-cp38-cp38-win_amd64.whl
Size 107.5 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
4fe2cbeb3919864cfe95609cd3f9614931d4ef2d77b4909250689a0f1046474d
BLAKE2b-256 checksum
How to use checksums
b47e556ac4f96d0caa2e1c2bdaf6483e5ddae6c59b3aa9b62e96d5e4de42f943
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp38-cp38-win32.whl

Download URL pytinyexr-0.9.1-cp38-cp38-win32.whl
Size 92.7 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
6d64933787fe245051aa5a7c8ca322fd3ecb83a68e335593ca7ed8f16696b7d7
BLAKE2b-256 checksum
How to use checksums
d7293b342abd2d51da7c5dab50ab5c643de64c8e62c68ff338659df854dee7d3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp38-cp38-manylinux2010_x86_64.whl

Download URL pytinyexr-0.9.1-cp38-cp38-manylinux2010_x86_64.whl
Size 1.3 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
d360abbc3e37965ae374a7919bd75b5c25f61d89c8eee1877c95a06aa05813cb
BLAKE2b-256 checksum
How to use checksums
f4dea69663bfc88cf7e1524710a1919db50d7f78ef72d57c8357f880de5ba292
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp38-cp38-manylinux2010_i686.whl

Download URL pytinyexr-0.9.1-cp38-cp38-manylinux2010_i686.whl
Size 987.9 kB
Tags CPython 3.8 Linux glibc 2.12+ x86-32
SHA-256 checksum
How to use checksums
fccb815d1b9f825da8e3f7b81735023fc651ba134976fb1f82f962d22e0e4eed
BLAKE2b-256 checksum
How to use checksums
d84ef4c9ddbaa70b70083a3e54d8cf476f39f867b6736d8de82b70d8aab4380f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp38-cp38-macosx_10_9_x86_64.whl

Download URL pytinyexr-0.9.1-cp38-cp38-macosx_10_9_x86_64.whl
Size 143.1 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
23b24cb591c74516747f66182945440b92fade6d57d5909fd33347a571e62da1
BLAKE2b-256 checksum
How to use checksums
5bb577dfc553021dd1ea96f52b881f014bc5be7a769c9c46cb15ca0b659339bf
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp37-cp37m-win_amd64.whl

Download URL pytinyexr-0.9.1-cp37-cp37m-win_amd64.whl
Size 108.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
4db9014dff7e73823c3116fd4f113d1aa2509976fef3069b17d95e0e862244b2
BLAKE2b-256 checksum
How to use checksums
60d200b4ec3761c6ef38a76fa0a4311935f52196692c1ee55b3fac0d4d48e585
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp37-cp37m-win32.whl

Download URL pytinyexr-0.9.1-cp37-cp37m-win32.whl
Size 93.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
683b5b3acaa752849bc5f99405115ae3705102c388e893e6222acdedbe494e03
BLAKE2b-256 checksum
How to use checksums
a45b160fe88dc919b38e3f0145d1af623b4d9e5ac5133f36c0d2a4a85ae10606
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp37-cp37m-manylinux2010_x86_64.whl

Download URL pytinyexr-0.9.1-cp37-cp37m-manylinux2010_x86_64.whl
Size 1.4 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
f07e144cea4e96c69ec817e6f8cff42ba0bea2fa8a97e07107f18be3fb710731
BLAKE2b-256 checksum
How to use checksums
3d38fd1db3b1318ee4e56fbf4e7bfe3d093e06f79bef511d169b6e9f94f09d13
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp37-cp37m-manylinux2010_i686.whl

Download URL pytinyexr-0.9.1-cp37-cp37m-manylinux2010_i686.whl
Size 983.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-32
SHA-256 checksum
How to use checksums
03074e76ea75cdd9bed1290c76bfdad2c79f47764fae39db26e00d07c56f43bd
BLAKE2b-256 checksum
How to use checksums
b8ab404f5c5266b413d24209f8fff5f41e8deaf5bbb352561965c2b9321f40eb
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL pytinyexr-0.9.1-cp37-cp37m-macosx_10_9_x86_64.whl
Size 142.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
cc8071e2ee87968c399a6f069e5911d0558056fe9d7920a3aae8df01ce438f50
BLAKE2b-256 checksum
How to use checksums
d5de773a3c56d1275d5f1e54e4aedd51ab786128ee2f5778c752d38d634edf63
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp36-cp36m-win_amd64.whl

Download URL pytinyexr-0.9.1-cp36-cp36m-win_amd64.whl
Size 108.6 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
a8b2b0359a606770e7eb2f1b6b57da338d0b3097232142ccbedc715959f34a84
BLAKE2b-256 checksum
How to use checksums
101fe6447f507e14514713ff7fa29f53ed5dff717bdb36eebc1dda585c243c8f
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp36-cp36m-win32.whl

Download URL pytinyexr-0.9.1-cp36-cp36m-win32.whl
Size 93.4 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
b192dc3bb10dd5d74eb298ccd775e1d3b9085994e14fd42e7ede70caaa13265c
BLAKE2b-256 checksum
How to use checksums
6f731b1ac468237e9bf9028f8577bb9c72a3e3565f541057546929ad09c035f8
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp36-cp36m-manylinux2010_x86_64.whl

Download URL pytinyexr-0.9.1-cp36-cp36m-manylinux2010_x86_64.whl
Size 1.4 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
6e5d02e95357189c8e1b4656cfba36f8fa6bcf441cb5ae42669a0f84282d9987
BLAKE2b-256 checksum
How to use checksums
ff18b607d014ffd329f581fca3614bcd9fce479c084a514123abfb165eef8a20
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp36-cp36m-manylinux2010_i686.whl

Download URL pytinyexr-0.9.1-cp36-cp36m-manylinux2010_i686.whl
Size 982.9 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-32
SHA-256 checksum
How to use checksums
be099e4d21fc307074f2e5e6fa3577f8b77d347c6701a34a6ef4a9178c3fdd3a
BLAKE2b-256 checksum
How to use checksums
95f04fbf9d05912d73617c7259a687080dc65b9e0ec1c4ec40f86e8694ab7c84
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp36-cp36m-macosx_10_9_x86_64.whl

Download URL pytinyexr-0.9.1-cp36-cp36m-macosx_10_9_x86_64.whl
Size 142.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
548c9e610bc54a22adcf0f26e7755a058695385ac7fc56428be708579668ceef
BLAKE2b-256 checksum
How to use checksums
f438c14005525a7a6cc374b81091015134ba1e1d69da1d230e98c6c8873ea3b5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp35-cp35m-win_amd64.whl

Download URL pytinyexr-0.9.1-cp35-cp35m-win_amd64.whl
Size 108.6 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
798352d826e024edcdc784382d345639ddf37dd8c550b988321081ccdb6878a8
BLAKE2b-256 checksum
How to use checksums
7b6b314e86b333ff4aa8bc068b43c6817ca468e1de7ddead2d074b3811a21d33
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp35-cp35m-win32.whl

Download URL pytinyexr-0.9.1-cp35-cp35m-win32.whl
Size 93.4 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
1e657775d094cad70e2fb5520d60c2ffad9cbd0f3c015b1f5c5c109b57db3f2f
BLAKE2b-256 checksum
How to use checksums
6ff1ea2487cb13356505889604c0afe8cc38fb0285907d567a05917bb5a917a4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp35-cp35m-manylinux2010_x86_64.whl

Download URL pytinyexr-0.9.1-cp35-cp35m-manylinux2010_x86_64.whl
Size 1.4 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
2ee37e8019c0c02b2d33288d43aea42aedaabec290bce4af33113f49f5b67181
BLAKE2b-256 checksum
How to use checksums
e168aeeab0e0a57b8d0c8c1f5c8f4b6596c4de035d364a844f7eab18080c06fb
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp35-cp35m-manylinux2010_i686.whl

Download URL pytinyexr-0.9.1-cp35-cp35m-manylinux2010_i686.whl
Size 982.5 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-32
SHA-256 checksum
How to use checksums
a2f6c6ad4a70cca0e5d21d19937d46b54aafd0b9f2ba9d33bc1a94561cff6bce
BLAKE2b-256 checksum
How to use checksums
382ab5b3ed3be9811824e093e2a5468b83bc5ad2ac8b756f8a0269292f54fd80
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / pytinyexr-0.9.1-cp35-cp35m-macosx_10_9_x86_64.whl

Download URL pytinyexr-0.9.1-cp35-cp35m-macosx_10_9_x86_64.whl
Size 137.3 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
9dd467763d428983e8b8f9a670c5a9effa5dd6331f52271f5445b9b73e8b4f1e
BLAKE2b-256 checksum
How to use checksums
9858277c4473fb3e853a4302b336041fa1726ce01c5b7e5c620e11c658dbfcef
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.9.1 This release

21 release files

0.9.0

22 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page