Declarationfunction AutoCrop2(BorderRate: Double = 6; DoCrop: Boolean = True): TRect;
Removes the black border from a white text document using a density analysis algorithm.
|Parameter ||Description |
|BorderRate ||The difference between border and text. Must be more than 0 |
|DoCrop ||If False the image is not cropped, but the suggested area for cropping is returned as the result |
Returns the area to crop or cropped.
Example// Remove the black border from a scanned document