ImageGear Professional for Linux
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().

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback