RenderKit / oidn

Intel® Open Image Denoise library
https://www.openimagedenoise.org/
Apache License 2.0
1.74k stars 160 forks source link

Support big-endian PFM images #149

Closed Peregrine05 closed 1 year ago

Peregrine05 commented 1 year ago

Currently, attempting to load a big-endian PFM image results in the following error:

Error: big-endian PFM images are not supported
atafra commented 1 year ago

We're not planning to support this by default but it should work if you build with OpenImageIO support. Also, please note that the included applications are only for development/testing, not end-user applications.

Calinou commented 10 months ago

We're not planning to support this by default but it should work if you build with OpenImageIO support

Could OpenImageIO be enabled in future official binary releases? This would smoothen out the workflow a lot when using OpenImageDenoise on OpenEXR images.

Right now, I have to do the following which requires ImageMagick:

convert test.exr -endian LSB /tmp/test.pfm \
  && oidnDenoise --filter RTLightmap --hdr /tmp/test.pfm --output /tmp/test_denoised.pfm \
  && convert /tmp/test_denoised.pfm test.exr
atafra commented 10 months ago

No, sorry. The included applications were not intended to be used in production, these are just samples.