saveDibReduced

Definition: integer r = saveDibReduced(a32Dib dib, string fileName, integer x1, integer y1, integer x2, integer y2)
Description: Save a portion ((x1, y1) -> (x2, y2)) of the bitmap to an 8-bit BMP-file (uses websafe palette).
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.