DevIL Documentation Previous | IL | Next

 

ilSaveImage

 

).

 

ILboolean ilSaveImage(
  char * FileName );


Parameters

 
FileName
Specifies which file to save an image to


Errors

 
IL_COULD_NOT_OPEN_FILE
Preserves the origin state set by ilOriginFunc.
IL_ILLEGAL_OPERATION
Preserves whether OpenIL is allowed to overwrite files when saving (set by ilEnable, ilDisable).
IL_INVALID_EXTENSION
Preserves whether OpenIL is supposed to convert palette'd to truecolour images (set by ilEnable, ilDisable).
IL_INVALID_PARAM
Preserves all OpenIL states and attributes.

See Also

 
ilBindImage, ilGenImages, ilLoad, ilLoadF, ilLoadImage, ilLoadL, ilSave,