file-exr: Add initial implementation (loader)

Desktop / GNOME / GIMP - Mukund Sivaraman [banu.com] - 4 May 2013 02:32 UTC

This is a basic implementation of an OpenEXR loader. This "infrastructure" is required for any further work. It consists of:

- The build system changes.

- A C wrapper around the OpenEXR library, which is necessary as it's not possible to intermix GIMP's code with C++ code.

- A basic image loader. Chroma is not supported currently, and some other weird files like multi-view files are unsupported. These can be added when necessary. There is no UI, but it should be straightforward to add new features like this on top of this work.

8d89efa file-exr: Add initial implementation (loader)
configure.ac | 31 ++++
plug-ins/Makefile.am | 5 +
plug-ins/file-exr/.gitignore | 7 +
plug-ins/file-exr/Makefile.am | 51 ++++++
plug-ins/file-exr/file-exr.c | 303 ++++++++++++++++++++++++++++++++++
plug-ins/file-exr/openexr-wrapper.cc | 283 +++++++++++++++++++++++++++++++
plug-ins/file-exr/openexr-wrapper.h | 61 +++++++
7 files changed, 741 insertions(+)

Upstream: git.gnome.org


  • Share