AcademySoftwareFoundation / OpenColorIO

A color management framework for visual effects and animation.
https://opencolorio.org
BSD 3-Clause "New" or "Revised" License
1.74k stars 430 forks source link

Restore OpenEXR support to ocioperf #1864

Open doug-walker opened 9 months ago

doug-walker commented 9 months ago

The ocioperf command-line tool is used to do performance tuning. Originally it used OpenImageIO to load an image file to be processed for the test. However, if OpenImageIO was not present, ocioperf would not get built. Therefore, ocioperf was modified to generate an image buffer internally, so there is no dependence and the tool always gets built. However, more recently, OCIO now is able to download and build OpenEXR automatically.

This issue is to restore the ability for ocioperf to use custom image files (in .exr format) by leveraging the fact that OpenEXR will always be available to build the tools.

remia commented 9 months ago

Just clarifying that this would use the ImageIO class helper instead of OpenEXR directly, example of it being used are available in ocioconvert, ociodisplay and ociolutimage.