ImageCollection.ToByteArray Method |
Saves the image into a byte array.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax public byte[] ToByteArray(
ImageEncoder encoder,
ProgressEventHandler progress
)
Public Function ToByteArray (
encoder As ImageEncoder,
progress As ProgressEventHandler
) As Byte()
Parameters
- encoder
- Type: Atalasoft.Imaging.Codec.ImageEncoder
The ImageEncoder to use. - progress
- Type: Atalasoft.Imaging.ProgressEventHandler
A progress event handler used during the save process.
Return Value
Type:
Byte[] A byte array containing the image data.
See Also