Remove Black Border

 

 

This function detects the black border of the scanned image and replaces the black pixels with white pixels. The function only works for monochrome, 8 and 24 bit per pixel images.

 

The following example is of the Remove Black Border function in use: