Image reading and storage related functions

read image read_image

Operator: read_image ( :  Image  :  FileName  : )

示例:read_image (Image, 'C:/Users/Administrator/Pictures/Camera Roll/100.jpeg')

Image (object output): output the image read

'C:/Users/Administrator/Pictures/Camera Roll/100.jpeg' (control parameter input): Enter the path to read the picture

Store image write_image

算子:write_image(Image : : FormatFillColorFileName : )

Example: write_image(Image, 'jpeg', 0, '100')

Image (input object): input image object

'jpeg' (input control parameter 1): input format for storing images

0 (input control parameter 2): Whether to fill the color 0 means not to fill

'100' (input control parameter 3): Enter the file name where the image is stored

Guess you like

Origin blog.csdn.net/a296026640/article/details/130241982