PsiLAB Help Manual
Image processing functions
Read an image from a file. Read the header of an image file loads the image by calling corresponding loading method, and returns it. If the file format is not supported by the library, a Wrong_file_type exception will be raised. You can specify loading options in such as progressive meter function.
[ Gif, Bmp, Jpeg, Tiff, Png, Xpm, Ppm, Ps ]
 let im = load "/dat/test.bmp"  ;;
val im : Image.t
Printed by PsiLAB