Click or drag to resize

ImageUtilsGenerateThumbnail Method

Generate a thumbnail from an image stream.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static byte[] GenerateThumbnail(
	IAppContext cxt,
	Stream image,
	ImageFileFormat format,
	ImageFileQuality quality,
	ImageFileSize size
)

Parameters

cxt
Type: NetQuarryIAppContext
The application context.
image
Type: System.IOStream
The image to from which to generate a thumbnail.
format
Type: NetQuarry.Util.ImageImageFileFormat
The thumbnail format to generate.
quality
Type: NetQuarry.Util.ImageImageFileQuality
The quality of the thumbnail.
size
Type: NetQuarry.Util.ImageImageFileSize
The size of the quality.

Return Value

Type: Byte
The thumbnail image data.
See Also