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
)
Public Shared Sub Crop (
source As Stream,
dest As Stream,
cropRectangle As Rectangle,
flags As JpegTransformFlags
)
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 Exception | Condition |
---|
| Thrown is the current license is not DotImage Photo Pro, or DotImage Document Imaging. |
See Also