Click or drag to resize

RenderImageSaveToMemory Method

Saves the image to a byte array according to the format and a compression level if compression if supported by the format.

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public byte[] SaveToMemory(
	string format,
	int compression
)

Parameters

format
Type: SystemString
The image format. Supported format are JPEG, PNG, BMP and TIFF.
compression
Type: SystemInt32
The compression level.

Return Value

Type: Byte
The image as a byte array.
Exceptions
ExceptionCondition
ObjectNullExceptionformat == null
ObjectDestroyedExceptionRenderImage::IsDestroyed == true
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also