re_writeimagefile()

extern XXX_ERROR XXX_API re_writeimagefile
  (ReFileHandle rfh, const ReImage *image);
      

Parameter:

rfh
Handle of an image file to take the image.
image
Pointer to the image structure.

Return value:

RE_SUCCESS or XXX error type.

Comment:

The given image is written to the end of the file given by file_handle. In case of an error the error text can be retrieved with re_GetErrorText().

Reference: