ImageTaskSaveAsBytes Method

Executes all the commands in the chain and saves the resulting image as a byte array.

Definition

Namespace: GleamTech.ImageUltimate
Assembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 5.8.8
C#
public byte[] SaveAsBytes(
	ImageFormat? imageFormat = null
)

Parameters

imageFormat  NullableImageFormat  (Optional)
The file format used to save the image. If not specified, the same file format of the source image will be used and if the format is not supported for saving, then Jpeg format will be used.

Return Value

Byte
A byte array containing the image.

See Also