Zen API
|
|
related |
Gets the value of a pixel.
This method is convenient in some contexts, but is not an efficient method to access many pixels. In performance-critical code, use kImage_RowAtT to directly access the pixel buffer.
A debug assertion will be raised if the size of the specified pixel type is not equal to the size of the image pixel type.
kImage_image | Image object. |
kSize_x | Column index. |
kSize_y | Row index. |
TPtr_pixel | Strongly-typed destination pointer for pixel copied from the image. |