ImageGear for Java
crop Method
Image to crop.
Left border of the new image.
Top border of the new image.
Width of the new image.
Height of the new image.

This method processes all channels of the image. It may shift reference point of image's ROI, if it exists, but does not crop it.

ImGearProcessingVerifier.canApplyCrop method can be called to check whether the operation can be performed.

com.accusoft.imagegear.core.ImGearPage

Crops an image according to the specified offsets and dimensions.
Syntax
public static void crop( 
   ImGearPage page,
   int left,
   int top,
   int width,
   int height
)

Parameters

page
Image to crop.
left
Left border of the new image.
top
Top border of the new image.
width
Width of the new image.
height
Height of the new image.

This method processes all channels of the image. It may shift reference point of image's ROI, if it exists, but does not crop it.

ImGearProcessingVerifier.canApplyCrop method can be called to check whether the operation can be performed.

com.accusoft.imagegear.core.ImGearPage

See Also

Reference

ImGearProcessing Class
ImGearProcessing Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback