Hi Samat, thanks, I’ll give home-brew a try, When I read the 
http://openexr.com/downloads.html <http://openexr.com/downloads.html> and saw 
"PyIlmBase 2.2.0 source code released” I thought these were python bindings 
since on the main page the following paragraph l

speaks of them;

This release includes a refactoring of the optimised read paths for RGBA data, 
optimisations for some of the python bindings to Imath, improvements to the 
cmake build environment as well as additional documentation describing deep 
data in more detail.


I had interpreted python bindings to be a module you can import into python to 
get read/write access. Seems that is not the case. Incidentally, thanks to 
Brad, I was missing boost, installing it allowed me to compile the pyilmbase, 
however, as you point out, it doesn’t create a module that can be imported. 
From what you wrote below, I am putting two and two together and assuming that 
what I compiled is what you referred to as:

>  IlmBase has Python bindings, and that will give
> you support for Halfs, etc, but isn't enough to actually let you read OpenEXR 
> files 

Not a problem! I’d be happy to go ahead and use the current pypi package or 
brew packages, I’m eventually hoping to package a distributable program that 
includes support for OpenEXR, so being able to compile a binary that supports 
read/write of files is really what I am after, the image manipulations are 
cool, I’m interested mainly in stitching tiles back together since I am 
building a distributed rendering manager for blender that does bucket/tiled 
rendering. 

Thanks for the help Samat :D

> pyilmbase-2.2.0tar.gz 
> <http://download.savannah.gnu.org/releases/openexr/pyilmbase-2.2.0.tar.gz>On 
> 15 Jul 2017, at 2:00 am, openexr-devel-requ...@nongnu.org wrote:
> 
> Send Openexr-devel mailing list submissions to
>       openexr-devel@nongnu.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.nongnu.org/mailman/listinfo/openexr-devel
> or, via email, send a message with subject or body 'help' to
>       openexr-devel-requ...@nongnu.org
> 
> You can reach the person managing the list at
>       openexr-devel-ow...@nongnu.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Openexr-devel digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: Getting started with OpenExr python bindings (Brad Hards)
>   2. Re: Getting started with OpenExr python bindings (Samat K Jain)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 13 Jul 2017 19:18:39 +1000
> From: "Brad Hards" <br...@frogmouth.net>
> To: "'James Crowther'" <jamesharrycrowt...@gmail.com>,
>       <openexr-devel@nongnu.org>
> Subject: Re: [Openexr-devel] Getting started with OpenExr python
>       bindings
> Message-ID: <002101d2fbb9$04c952b0$0e5bf810$@frogmouth.net>
> 
> checking for boost::python... no
> *** Could not run the boost::python test program, checking why...
> *** The test program could not be compiled.  Is boost::python installed?
> *** Check that the cflags (below) includes the boost::python include directory
> ***
> *** Flags used by the test:
> *** 
>   cflags: -g -O2  
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 
> -g -O2  
> -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
> 
> This looks to be the problem part. Have you tried installing boost::python?
> 
> If its installed somewhere non-standard, some or all of:
> --with-boost-include-dir
> --with-boost-lib-dir
> --with-boost-python-libname
> might be useful.
> 
> Brad
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 13 Jul 2017 13:02:19 -0600
> From: Samat K Jain <li...@samat.org>
> To: openexr-devel@nongnu.org
> Subject: Re: [Openexr-devel] Getting started with OpenExr python
>       bindings
> Message-ID: <3ab47292-ea68-13e4-5eb4-d73095d2c...@samat.org>
> Content-Type: text/plain; charset=utf-8
> 
> Are you sure OpenEXR has Python bindings?
> $ cd openexr-2.2.0/
> $ grep -ir python .
> Returns nothing for me. IlmBase has Python bindings, and that will give
> you support for Halfs, etc, but isn't enough to actually let you read
> OpenEXR files. Someone correct me if wrong.
> There's a really old package on PyPi here, but I've never gotten it to
> work (I don't think it's compatible w/ OpenEXR 2.x):
> https://pypi.python.org/pypi/OpenEXR/1.0.2
> I've only successfully read OpenEXR in Python in two ways:
> ? OpenImageIO's Python bindings, which interface with OpenEXR's C++
> interface
> ? OpenCV's Python bindings, which also interface with OpenEXR's C++
> interface
> Both are a headache to compile; you might want to see if there's a
> package in Homebrew or something since you're on macOS. There are
> Debian/Ubuntu packages of both and those worked well enough for me.
> Regards,
> Samat
> 
> On 7/12/17 11:07 PM, James Crowther wrote:
>> Hi there, 
>> I am a complete noob to the open exr bindings for python, I am running
>> MacOSX sierra. 
> 
> -- 
> Samat K Jain ? GPG: 0x4A456FBA ? Pump.IO: https://identi.ca/samatjain
> Web: https://samat.io/ ? Twitter: https://twitter.com/SamatJain
> 
> This e-mail is: [ ] shareable [x] ask first [ ] private
> 
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Openexr-devel mailing list
> Openexr-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/openexr-devel
> 
> 
> ------------------------------
> 
> End of Openexr-devel Digest, Vol 159, Issue 2
> *********************************************

_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to