ImageGear Professional DLL v17.1 for Windows Accusoft
IG_IC_crop_auto
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > ImageClean Component API Reference > ImageClean Component Functions Reference > IG_IC_crop_auto

Glossary Item Box

This function automatically crops any white borders from a 1-bit image.

Declaration:

  Copy Code
AT_ERRCOUNT IG_IC_crop_auto ( HIGEAR hIGear);

Arguments:

hIGear HIGEAR handle of image.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

Indexed RGB – 1 bpp.

Sample:

ImageClean

Remarks:

For example, if there is a left margin of 1 inch, where no text is present, this will be cropped away. If the bottom of the page has 3 inches of white space, it will be cropped away. This function automatically determines how much white border exists on all four sides of the image and crops accordingly. The image is not resized.

Refer to the Component Manager API section.

©2012. Accusoft Corporation. All Rights Reserved.