openexr/3.2.1

OpenEXR is a high dynamic-range (HDR) image file format developed by Industrial Light & Magic for use in computer imaging applications.
Recipe info
2024-02-20

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
openexr/3.2.1

Using openexr

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
openexr/3.2.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("openexr/3.2.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): OpenEXR
  • CMake target name(s): openexr::openexr
  • openexr_iex => OpenEXR::Iex
    openexr_openexr => OpenEXR::OpenEXR
    openexr_iexconfig => OpenEXR::IexConfig
    openexr_ilmthread => OpenEXR::IlmThread
    openexr_openexrcore => OpenEXR::OpenEXRCore
    openexr_openexrutil => OpenEXR::OpenEXRUtil
    openexr_openexrconfig => OpenEXR::OpenEXRConfig
    openexr_ilmthreadconfig => OpenEXR::IlmThreadConfig
    
  • pkg-config file name(s): OpenEXR.pc
  • openexr_iex => openexr-openexr_iex.pc
    openexr_openexr => openexr-openexr_openexr.pc
    openexr_iexconfig => openexr-openexr_iexconfig.pc
    openexr_ilmthread => openexr-openexr_ilmthread.pc
    openexr_openexrcore => openexr-openexr_openexrcore.pc
    openexr_openexrutil => openexr-openexr_openexrutil.pc
    openexr_openexrconfig => openexr-openexr_openexrconfig.pc
    openexr_ilmthreadconfig => openexr-openexr_ilmthreadconfig.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(OpenEXR REQUIRED)
# ...
target_link_libraries(YOUR_TARGET openexr::openexr)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the openexr homepage listed above:

#include "OpenEXR/Iex.h"
#include "OpenEXR/IexBaseExc.h"
#include "OpenEXR/IexConfig.h"
#include "OpenEXR/IexErrnoExc.h"
#include "OpenEXR/IexExport.h"
#include "OpenEXR/IexForward.h"
#include "OpenEXR/IexMacros.h"
#include "OpenEXR/IexMathExc.h"
#include "OpenEXR/IexMathFloatExc.h"
#include "OpenEXR/IexMathIeeeExc.h"
#include "OpenEXR/IexNamespace.h"
#include "OpenEXR/IexThrowErrnoExc.h"
#include "OpenEXR/IlmThread.h"
#include "OpenEXR/IlmThreadConfig.h"
#include "OpenEXR/IlmThreadExport.h"
#include "OpenEXR/IlmThreadForward.h"
#include "OpenEXR/IlmThreadMutex.h"
#include "OpenEXR/IlmThreadNamespace.h"
#include "OpenEXR/IlmThreadPool.h"
#include "OpenEXR/IlmThreadSemaphore.h"
#include "OpenEXR/ImfAcesFile.h"
#include "OpenEXR/ImfArray.h"
#include "OpenEXR/ImfAttribute.h"
#include "OpenEXR/ImfBoxAttribute.h"
#include "OpenEXR/ImfCRgbaFile.h"
#include "OpenEXR/ImfChannelList.h"
#include "OpenEXR/ImfChannelListAttribute.h"
#include "OpenEXR/ImfCheckFile.h"
#include "OpenEXR/ImfChromaticities.h"
#include "OpenEXR/ImfChromaticitiesAttribute.h"
#include "OpenEXR/ImfCompositeDeepScanLine.h"
#include "OpenEXR/ImfCompression.h"
#include "OpenEXR/ImfCompressionAttribute.h"
#include "OpenEXR/ImfCompressor.h"
#include "OpenEXR/ImfConvert.h"
#include "OpenEXR/ImfDeepCompositing.h"
#include "OpenEXR/ImfDeepFrameBuffer.h"
#include "OpenEXR/ImfDeepImage.h"
#include "OpenEXR/ImfDeepImageChannel.h"
#include "OpenEXR/ImfDeepImageIO.h"
#include "OpenEXR/ImfDeepImageLevel.h"
#include "OpenEXR/ImfDeepImageState.h"
#include "OpenEXR/ImfDeepImageStateAttribute.h"
#include "OpenEXR/ImfDeepScanLineInputFile.h"
#include "OpenEXR/ImfDeepScanLineInputPart.h"
#include "OpenEXR/ImfDeepScanLineOutputFile.h"
#include "OpenEXR/ImfDeepScanLineOutputPart.h"
#include "OpenEXR/ImfDeepTiledInputFile.h"
#include "OpenEXR/ImfDeepTiledInputPart.h"
#include "OpenEXR/ImfDeepTiledOutputFile.h"
#include "OpenEXR/ImfDeepTiledOutputPart.h"
#include "OpenEXR/ImfDoubleAttribute.h"
#include "OpenEXR/ImfEnvmap.h"
#include "OpenEXR/ImfEnvmapAttribute.h"
#include "OpenEXR/ImfExport.h"
#include "OpenEXR/ImfFlatImage.h"
#include "OpenEXR/ImfFlatImageChannel.h"
#include "OpenEXR/ImfFlatImageIO.h"
#include "OpenEXR/ImfFlatImageLevel.h"
#include "OpenEXR/ImfFloatAttribute.h"
#include "OpenEXR/ImfFloatVectorAttribute.h"
#include "OpenEXR/ImfForward.h"
#include "OpenEXR/ImfFrameBuffer.h"
#include "OpenEXR/ImfFramesPerSecond.h"
#include "OpenEXR/ImfGenericInputFile.h"
#include "OpenEXR/ImfGenericOutputFile.h"
#include "OpenEXR/ImfHeader.h"
#include "OpenEXR/ImfHuf.h"
#include "OpenEXR/ImfIDManifest.h"
#include "OpenEXR/ImfIDManifestAttribute.h"
#include "OpenEXR/ImfIO.h"
#include "OpenEXR/ImfImage.h"
#include "OpenEXR/ImfImageChannel.h"
#include "OpenEXR/ImfImageChannelRenaming.h"
#include "OpenEXR/ImfImageDataWindow.h"
#include "OpenEXR/ImfImageIO.h"
#include "OpenEXR/ImfImageLevel.h"
#include "OpenEXR/ImfInputFile.h"
#include "OpenEXR/ImfInputPart.h"
#include "OpenEXR/ImfInt64.h"
#include "OpenEXR/ImfIntAttribute.h"
#include "OpenEXR/ImfKeyCode.h"
#include "OpenEXR/ImfKeyCodeAttribute.h"
#include "OpenEXR/ImfLineOrder.h"
#include "OpenEXR/ImfLineOrderAttribute.h"
#include "OpenEXR/ImfLut.h"
#include "OpenEXR/ImfMatrixAttribute.h"
#include "OpenEXR/ImfMisc.h"
#include "OpenEXR/ImfMultiPartInputFile.h"
#include "OpenEXR/ImfMultiPartOutputFile.h"
#include "OpenEXR/ImfMultiView.h"
#include "OpenEXR/ImfName.h"
#include "OpenEXR/ImfNamespace.h"
#include "OpenEXR/ImfOpaqueAttribute.h"
#include "OpenEXR/ImfOutputFile.h"
#include "OpenEXR/ImfOutputPart.h"
#include "OpenEXR/ImfPartHelper.h"
#include "OpenEXR/ImfPartType.h"
#include "OpenEXR/ImfPixelType.h"
#include "OpenEXR/ImfPreviewImage.h"
#include "OpenEXR/ImfPreviewImageAttribute.h"
#include "OpenEXR/ImfRational.h"
#include "OpenEXR/ImfRationalAttribute.h"
#include "OpenEXR/ImfRgba.h"
#include "OpenEXR/ImfRgbaFile.h"
#include "OpenEXR/ImfRgbaYca.h"
#include "OpenEXR/ImfSampleCountChannel.h"
#include "OpenEXR/ImfStandardAttributes.h"
#include "OpenEXR/ImfStdIO.h"
#include "OpenEXR/ImfStringAttribute.h"
#include "OpenEXR/ImfStringVectorAttribute.h"
#include "OpenEXR/ImfTestFile.h"
#include "OpenEXR/ImfThreading.h"
#include "OpenEXR/ImfTileDescription.h"
#include "OpenEXR/ImfTileDescriptionAttribute.h"
#include "OpenEXR/ImfTiledInputFile.h"
#include "OpenEXR/ImfTiledInputPart.h"
#include "OpenEXR/ImfTiledOutputFile.h"
#include "OpenEXR/ImfTiledOutputPart.h"
#include "OpenEXR/ImfTiledRgbaFile.h"
#include "OpenEXR/ImfTimeCode.h"
#include "OpenEXR/ImfTimeCodeAttribute.h"
#include "OpenEXR/ImfUtilExport.h"
#include "OpenEXR/ImfVecAttribute.h"
#include "OpenEXR/ImfVersion.h"
#include "OpenEXR/ImfWav.h"
#include "OpenEXR/ImfXdr.h"
#include "OpenEXR/OpenEXRConfig.h"
#include "OpenEXR/openexr.h"
#include "OpenEXR/openexr_attr.h"
#include "OpenEXR/openexr_base.h"
#include "OpenEXR/openexr_chunkio.h"
#include "OpenEXR/openexr_coding.h"
#include "OpenEXR/openexr_compression.h"
#include "OpenEXR/openexr_config.h"
#include "OpenEXR/openexr_context.h"
#include "OpenEXR/openexr_debug.h"
#include "OpenEXR/openexr_decode.h"
#include "OpenEXR/openexr_encode.h"
#include "OpenEXR/openexr_errors.h"
#include "OpenEXR/openexr_part.h"
#include "OpenEXR/openexr_std_attr.h"
#include "OpenEXR/openexr_version.h"