Routines



SaveGrayImage routine


Save a gray image that exists in memory on the disk. At current stage AIDPT works only with 24 bit bitmap '.BMP' image type. Other types are not recognized.

required external library: image

int SaveGrayImage( GrayImage img, string naam );


Parameters

img [in] GrayImage variable that handles the grayscale image
naam [in] Name of the image file on the disk

Return values

If there are errors on saving the image as a file on the disk, the return value is 0. If the routine succeeds, the return value is 1.

Example code

loadlib image;


GrayImage i;
main()
{
...
SaveGrayImage(i,"anger.bmp");
}


Requirements

  • external dynamic link library: image.dll on the server


  • If interested in this project, please fell free to contact the personnel of our group. The project leader is dr.drs. L.J.M. Rothkrantz