CropBlackBorders Method

See Also     Examples     Applies To

Detects & removes margins consisting of black color around the native GdPicture image.

Syntax

object.CropBlackBorders (nConfidence, nUncheckedLines)

The CropBlackBorders syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nConfidence Optional. Long. Default value is 100. Confidence threshold in percentage.
nUncheckedLines Optional. Long. Default value is 0. specify the number of line of pixel which are to be ignored

Returns

Long. GdPictureStatus

Remarks

This function should be used on 1bpp image only. Use CropBorders() or CropBorders() functions on other paletized or true color image.

Category

Crop, Auto Deskew & Auto Border Removal





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.