icetImageGetNumPixels3
Usage
#include <IceT.h>
| IceTSizeType | icetImageGetWidth | ( const IceTImage | image | ); |
| IceTSizeType | icetImageGetHeight | ( const IceTImage | image | ); |
| IceTSizeType | icetImageGetNumPixels | ( const IceTImage | image | ); |
Overview
icetImageGetWidth,icetImageGetHeight,and icetImageGetNumPixelsallow you to query the size of an image with respect to the number of pixels. These functions define the buffer size returned by icetImageGetColor and icetImageGetDepth.
Return Value
icetImageGetWidthreturns the number of pixels along the horizontal axis of the image and icetImageGetHeightreturns the number of pixels along the vertical axis of the image. icetImageGetNumPixelsis a convenience function that returns the total number of pixels in image (the width times the height).
Errors
None.
Warnings
None.
Releases
7 releases since Debian 7 (Wheezy); the text changed 2 times.