Click or drag to resize

LosslessJpegCrop Method (String, String, 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(
	string source,
	string dest,
	Rectangle cropRectangle,
	JpegTransformFlags flags
)

Parameters

source
Type: SystemString
The source image file.
dest
Type: SystemString
The destination image filename.
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