EntropyCrop

Crops an image to the area of greatest entropy. This method works best with images containing large areas of a single color or similar colors around the edges.

public ImageFactory EntropyCrop(byte threshold = 128)
    

Parameters

threshold
The threshold in bytes to control the entropy detection level. Defaults to 128

Examples

Original

original image

Cropped

image with entropy crop applied