Export image as GIF file
The image to be exported. The default is the active image.
Specify the path and filename of the exported image. If file extension is omitted, it will be appended according to the file type.
The img2GIF function exports a matrix object(image) as an gif file. The matrix object of any data type can be used as input.