openimageio

OpenImageIO is a library for reading and writing images, and a bunch of related classes, utilities, and applications.

Latest version: 3.1.12+0

Add to xmake.lua

add_requires("openimageio 3.1.12+0")

Learn how to add and link packages with Xmake →

Information

License
BSD-3-Clause
Recipe updated
2026-07-12T07:32:20.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64
  • windows: x86, x64, arm, arm64ec

Options

bzip2
Build with bzip2 support. · Type: boolean · Default: false
dcmtk
Build with dcmtk support. · Type: boolean · Default: false
ffmpeg
Build with ffmpeg support. · Type: boolean · Default: false
freetype
Build with freetype support. · Type: boolean · Default: false
giflib
Build with giflib support. · Type: boolean · Default: false
libheif
Build with libheif support. · Type: boolean · Default: false
libjxl
Build with libjxl support. · Type: boolean · Default: false
libraw
Build with libraw support. · Type: boolean · Default: false
libultrahdr
Build with libultrahdr support. · Type: boolean · Default: false
libwebp
Build with libwebp support. · Type: boolean · Default: false
opencv
Build with opencv support. · Type: boolean · Default: false
openjpeg
Build with openjpeg support. · Type: boolean · Default: false
openvdb
Build with openvdb support. · Type: boolean · Default: false
ptex
Build with ptex support. · Type: boolean · Default: false
python
Build python bindings. · Type: boolean · Default: false
tbb
Build with tbb support. · Type: boolean · Default: false
tools
Build OpenImageIO tools. · Type: boolean · Default: false

Versions

  • 2.5.19+1
  • 3.1.12+0

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "openimageio 3.1.12+0"

show info

xrepo info "openimageio"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("openimageio 3.1.12+0")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("openimageio")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "openimageio 3.1.12+0" shell