ImageGear for C and C++ on Linux v20.0 - Updated
LPFNIG_SIZE_CHANGE
API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_SIZE_CHANGE

This function will be called during file operations when a change of file size is required.

Declaration:

 
Copy Code
typedef LONG (LPACCUAPI LPFNIG_SIZE_CHANGE)(
        AT_INT fd, 
        AT_INT lSize 
);

Arguments:

Name Type Description
fd AT_INT Descriptor ID, from open.
lSize AT_INT New size of file, in bytes.

Return Value:

Returns the new size of the file, or -1 to indicate that an error occurred.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

This type of function is established by calling IG_file_IO_register().

Is this page helpful?
Yes No
Thanks for your feedback.