Removes pixels with specified color from image boundaries making the image smaller in size.
The filter accepts 8 bpp grayscale and 24 bpp color images for processing.
Sample usage:
// create filter Shrink filter = new Shrink( Color.Black ); // apply the filter Bitmap newImage = filter.Apply( image );
Initial image:
Result image: