Click or drag to resize

AtalaImageToByteArray Method (ImageEncoder, ProgressEventHandler)

Returns a byte array containing an encoded image.

Namespace:  Atalasoft.Imaging
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public byte[] ToByteArray(
	ImageEncoder encoder,
	ProgressEventHandler progress
)

Parameters

encoder
Type: Atalasoft.Imaging.CodecImageEncoder
The ImageEncoder which will be used to encode the image.
progress
Type: Atalasoft.ImagingProgressEventHandler
The progress delegate. Can be set to null (Nothing in VB).

Return Value

Type: Byte
A byte array containing an encoded image.
See Also