EXR's ImageOutput appendsubimage #4018
-
Hello, bool
writeMultiLayerEXR(const std::string& filename)
{
std::unique_ptr<OIIO::ImageOutput> out = OIIO::ImageOutput::create(filename);
if (!out->supports("appendsubimage")) {
DEBUG("Does not support appending of subimages\n");
return false;
}
return true;
} And it return false... Do you have any idea why? What do I miss? If I write a single EXR with Thanks for the help. Colin. |
Beta Was this translation helpful? Give feedback.
Answered by
DartinMavies
Oct 13, 2023
Replies: 1 comment 6 replies
-
I think your issue is that
|
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
colaub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think your issue is that
out->supports("appendsubimage")
returns 0 if the image format needs to have to the number of subimages predeclared. From the docs: