Click or drag to resize

LosslessJpegCrop Method (Stream, Stream, Rectangle, JpegTransformFlags)

Performs a lossless crop on a JPEG image.

Namespace:  Atalasoft.Imaging.ImageProcessing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public static void Crop(
	Stream source,
	Stream dest,
	Rectangle cropRectangle,
	JpegTransformFlags flags
)

Parameters

source
Type: System.IOStream
The source image Stream.
dest
Type: System.IOStream
The destination image Stream.
cropRectangle
Type: System.DrawingRectangle
The crop rectangle.
flags
Type: Atalasoft.Imaging.ImageProcessingJpegTransformFlags
The transform flags.
Exceptions
ExceptionCondition
Thrown is the current license is not DotImage Photo Pro, or DotImage Document Imaging.
See Also