This function initializes the raster entity with the new width and height and allocates memory for the color data.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_raster_init( HIG_VECT_ENTITY hEntity, long nWidth, long nHeight ); |
Arguments:
hEntity | Raster entity handle. |
nWidth | New raster width. |
nHeight | New raster height. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
None