FredsImageMagickScripts.Autotrim 1.0.6436.32248

Suggested Alternatives

ImageMagick.FredsScripts.Autotrim

Additional Details

This package has been renamed to ImageMagick.FredsScripts.Autotrim.

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.

Requires NuGet 2.5 or higher.

dotnet add package FredsImageMagickScripts.Autotrim --version 1.0.6436.32248
NuGet\Install-Package FredsImageMagickScripts.Autotrim -Version 1.0.6436.32248
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FredsImageMagickScripts.Autotrim" Version="1.0.6436.32248" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FredsImageMagickScripts.Autotrim --version 1.0.6436.32248
#r "nuget: FredsImageMagickScripts.Autotrim, 1.0.6436.32248"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FredsImageMagickScripts.Autotrim as a Cake Addin
#addin nuget:?package=FredsImageMagickScripts.Autotrim&version=1.0.6436.32248

// Install FredsImageMagickScripts.Autotrim as a Cake Tool
#tool nuget:?package=FredsImageMagickScripts.Autotrim&version=1.0.6436.32248

Automatically trim a (nearly) uniform color border around an image. If the image is rotated, one can trim to the bounding box around the image area or alternately trim to the maximum central area that contains no border pixels. The excess border does not have to completely surround the image. It may be only on one side. However, one must identify a coordinate within the border area for the algorithm to extract the base border color and also specify a fuzz value when the border color is not uniform. For simple border trimming of a normally oriented image or the bounding box of a rotated image, you may err somewhat towards larger than optimal fuzz values. For images that contain rotated picture data, when you want to trim to the central area, you should choose the smallest fuzz value that is appropriate. For images that contain rotated picture data, an estimate of the rotation angle is needed for the algorithm to work. However, setting the rotation angle to zero will let the algorithm determine the rotation angle. The resulting trim is usually pretty good for angles >= 5 degrees. If the result is off a little, you may use the left/right/top/bottom arguments to adjust the automatically determined trim region.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated