writepng(input image, filename)
Write an image to a .png file. This command supports 1- and 2-dimensional images only.
This command cannot be used in the distributed processing mode. If you need it, please contact the authors.
input image [input]¶
Data type: uint8 image, uint16 image, uint32 image, uint64 image, int8 image, int16 image, int32 image, int64 image, float32 image, complex32 image
Image to save.
Data type: string
Name (and path) of the file to write. If the file exists, its current contents are erased. Extension .png is automatically appended to the name of the file.