saves an image file, is called by WriteImage
Success = WriteImageFile(PixelList, Dimensions, ImagePath);
column or row vector of type uint8, contains all gray or color values of an image
row or column vector of type double, contains the number of rows, number of columns and number of channels
file name or complete path of the image file
boolean, is %t if image was successfully saved and %f if an error occured
This function saves an image to a file. It is called by WriteImage so you do not need to call this function yourself.