Output the context to disk with name and optional type (extension or UTI).
UTI must inherits public.image.
The Canvas to output.
The filename of the output file. It can be either of absolute path or relative path.
Optionaltype: (keyof OutputUTIsByFileExtension) | OutputUTI
The preferred file extension of the output file or UTI. If not specified, the extension of name is used.
OutputUTIsByFileExtension for available UTIs and file extensions.
The Canvas to output.
The filename of the output file. It can be either of absolute path or relative path.
The UTI of the output file.
The
Outputrepresents output file name and format of Canvas.