I'm experimenting with a Rust wrapper for OIIO, and had some questions
about the stride.

Let's say I have an image that is 10x10 pixels, and 3 channels, and 1 byte
per channel. What strides would be invalid for that image? I'm guessing
that anything between -10 * 10 * 3 * 1 to 10 * 10 * 3 * 1 and the
AutoStride would be valid, and everything else may try to access memory
that isn't initialized. Is this assumption correct, or am I missing
something?

Thanks!
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to