toBlob

Creates a Binary Large OBject, a direct-to-memory version of the image.

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.

Note, some image formats do not permit multiple images to the same image stream (e.g. JPEG). in this instance, just the first image of the sequence is returned as a blob.

void[]
toBlob
(,
string magick = null
,
size_t depth = 0
,
bool adjoin = true
)

Parameters

images Image[]

Images to write.

magick string

Specifies the image format to write.

depth size_t

Specifies the image depth.

adjoin bool

Join images into a single multi-image file.

Meta