File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,11 @@ $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/inst
5959```
6060
6161``` sh
62- $ brew install cmake ceres-solver imath boost
62+ $ brew install ceres-solver nlohmann-json openimageio nanobind robin-map
63+ ```
64+
65+ ``` sh
66+ $ python3 -m pip install --break-system-packages pytest
6367```
6468
6569### Linux
Original file line number Diff line number Diff line change @@ -1825,13 +1825,21 @@ bool ImageConverter::save_image(
18251825 " chromaticities" ,
18261826 OIIO::TypeDesc ( OIIO::TypeDesc::FLOAT, 8 ),
18271827 chromaticities );
1828+ image_spec[" oiio:ColorSpace" ] = " lin_ap0_scene" ;
18281829
18291830 auto image_output = OIIO::ImageOutput::create ( " exr" );
18301831 bool result = image_output->open ( output_filename, image_spec );
18311832 if ( result )
18321833 {
18331834 result = buf.write ( image_output.get () );
18341835 }
1836+ else
1837+ {
1838+ std::cerr << " ERROR: Failed to write file: " << output_filename
1839+ << std::endl
1840+ << " Error: " << image_output->geterror () << std::endl;
1841+ }
1842+
18351843 return result;
18361844}
18371845
You can’t perform that action at this time.
0 commit comments