ImageGear for C and C++ on Windows v19.1 - Updated
IG_FIP_co_obj_create_empty
API Reference Guide > FreqIP Component API Reference > FreqIP Component Functions Reference > Complex Object Functions > IG_FIP_co_obj_create_empty

This function creates a new object with empty but allocated buffers, based on the given width and height.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_FIP_co_obj_create_empty(
        HIGCOMPLEXOBJ* lphIGComplexObj,
        AT_DIMENSION width, 
        AT_DIMENSION height
);

Arguments:

Name Type Description
lphIGComplexObj HIGCOMPLEXOBJ* Handle to return the newly created object.
Width AT_DIMENSION Width of the object to be created.
Height AT_DIMENSION Height of the object to be created.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The buffers can be populated later by obtaining pointers to the buffers.