# saveDib

Definition: | integer r = saveDib(a32Dib dib, string fileName, integer x1, integer y1, integer x2, integer y2)
Description: | Saves a portion ((x1, y1) -> (x2, y2)) of the bitmap to a BMP-file.
Comments: | returns 1 on failure, 0 on success Currently the library itself only supports saving to .bmp files, though hopefully it would not be too difficult to extend the gdiplus routines in axtra.ew to support the writing of (some) other formats, given that it can already read them.