gflFileCreate

GFL SDK

gflFileCreate

The gflFileCreate function creates a multi-page file.

GFL_ERROR gflFileCreate(
  GFL_FILE_HANDLE * handle,  
  const char * filename,  
  GFL_UINT32 image_count,  
  GFL_SAVE_PARAMS * params
);

Parameters

    handle
    Address of an handle.
    filename
    Pointer to a null-terminated string that contains the filename to create.
    image_count
    Number of picture to be added.
    params
    Pointer to a GFL_SAVE_PARAMS structure.
    This structure must be filled correctly.

Return value

    The function returns GFL_NO_ERROR if it is successful or a value of GFL_ERROR.

See also