Name
write_image — Write images in graphic formats.
Signature
write_image(Image :: Format, FillColor, FileName :)
write_image(Image :: Format, FillColor, FileName :)
The operator write_image saves the input image Image in the file FileName in the format Format. If the domain (region) cannot be saved in the specified Format (this is the casefor'bmp','jpeg',and'ima'), all pixels outside the region receive the color defined by FillColor. For gray value images a value between 0(black)and255(white) must be passed. For RGB color images the RGB values can be passed directly as a hexadecimal value: e.g.,0xffff00for a yellow background (red=255, green=255, blue=0).
The following formats are currently supported:'tiff','bigtiff': TIFF format, file extension *.tif