writeImages

Writes the image to the specified file. ImageMagick determines image format from the prefix or extension.

WriteImages generates multiple output files if necessary (or when requested). When adjoin is set to false, the filename is expected to include a printf-style formatting string for the frame number (e.g. "image%02d.png").

If an image format is selected which is capable of supporting fewer colors than the original image or quantization has been requested, the original image will be quantized to fewer colors. Use a copy of the original if this is a problem.

void
writeImages
(,
string filename
,
bool adjoin = true
)

Parameters

images Image[]

Images to write.

filename string

The file name to write to.

adjoin bool

Join images into a single multi-image file.

Meta