PsiLAB Help Manual Page

Section: Image processing functions

Name: save

Saves an image into a file with a specified format. You can specify some saving parameters. Some options are specific to some image formats and do not work with the others.

save filename:string
imageformat:format
options: save_option list
myimage:Image.t

Supported formats:

[ Gif, Bmp, Jpeg, Tiff, Png, Xpm, Ppm, Ps ]

Example:

[] save "/tmp/dat.bmp" Bmp [] im;; 
- : unit = () 

Printed by PsiLAB