Class EntropyCropExtensions
- Namespace
- SixLabors.ImageSharp.Processing
- Assembly
- SixLabors.ImageSharp.dll
Defines extensions that allow the application of entropy cropping operations on an Image using Mutate/Clone.
public static class EntropyCropExtensions
- Inheritance
-
EntropyCropExtensions
- Inherited Members
Methods
EntropyCrop(IImageProcessingContext)
Crops an image to the area of greatest entropy using a threshold for entropic density of
public static IImageProcessingContext EntropyCrop(this IImageProcessingContext source)
Parameters
source
IImageProcessingContextThe current image processing context.
Returns
EntropyCrop(IImageProcessingContext, float)
Crops an image to the area of greatest entropy.
public static IImageProcessingContext EntropyCrop(this IImageProcessingContext source, float threshold)
Parameters
source
IImageProcessingContextThe current image processing context.
threshold
floatThe threshold for entropic density.