re_writeimage(), re_wwriteimage()

extern KADMOS_ERROR KADMOS_API re_writeimage
  (const ReImage *image, const char *file_title);

extern KADMOS_ERROR KADMOS_API re_wwriteimage
  (const ReImage *image, const wchar_t *file_title);
      

Parameter:

image
Address of the source ReImage image.
file_title
Title of the destination Bmp file to take the image.

Return value:

RE_SUCCESS or KADMOS error type.

Comment:

The function converts the source image from the ReImage format into the BITMAP format and writes this BITMAP image into a Bmp file with the title file_title. In case of success RE_SUCCESS will be returned, in case of error a related error type and the error text can be retrieved with re_GetErrorText().

Reference: