ImageGear for C and C++ on Linux v18.8 - Updated
IG_mult_info_set
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Multimedia Functions > IG_mult_info_set

This function sets a piece of information for a multimedia instance as a whole.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_mult_info_set(
        HIGMULT hMult, 
        AT_MODE infoID,
        LPAT_VOID lpInfo,
        LPAT_UINT lpInfoSize
);

Arguments:

Name Type Description
hMult HIGMULT Multimedia instance handle.
infoID AT_MODE ID of info to set.
lpInfo LPAT_VOID Pointer to buffer containing info.
lpInfoSize LPAT_UINT Size of buffer pointed to by lpInfo.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Example:

 
Copy Code
/* Set minimum frame delay setting for animated GIF to 100ms */
AT_ERRCOUNT nErrcount;  /* Number of errors on stack */
HIGMULT hMult;          /* Multimedia instance handle */
AT_UINT msDelay = 100;  /* Minimum frame delay (milliseconds) */
nErrcount = IG_mult_info_set(hMult, IG_MULT_INFO_GIF_MIN_DELAY, &msDelay,
sizeof(msDelay));

Remarks:

You can specify the information to retrieve using the infoID parameter, whose value is a member of enumIGMultInfo defined in accucnst.h.