Replies: 1 comment
-
It would look something like this:
But there's one catch... there's not currently a way to make it pull the "G" channel from one buffer and the "Z" channel from a totally different buffer. It expects the pixels to be "contiguous", so you need to first copy your data around to get a single buffer that looks in memory like "GZGZGZGZ...". There is probably a good argument to be made that we should add read/write API calls that let you specify the buffer pointer and strides per channel, but currently we don't have that. It's not something I recall people asking for very frequently. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I currently have this code
How would I convert this to OIIO syntax for writing OpenEXR files? I'm doing this in C++!
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions