Click or drag to resize

LosslessJpegCrop Method (Stream, Stream, Rectangle)

Performs a lossless crop on a JPEG image.

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

Parameters

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