This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)


gives the pixel width of uniform borders of image in the form .
finds borders whose pixels vary by an amount less than t.
  • ImagePad effectively removes uniform image margins.
Find the pixel dimensions of the black margins:
Find the pixel dimensions of the black margins:
Click for copyable input
Border dimensions of a grayscale image:
Specify a higher tolerance to detect a noisy image border:
Remove blue borders of a color image:
Extract the text part of a scanned book:
Extract the foreground objects over a smoothly shaded background:
Border dimensions of a uniform image are considered zero:
New in 8