Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : imagemagick.fredsscripts.autotrim

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.

Registry - Homepage - JSON
purl: pkg:nuget/imagemagick.fredsscripts.autotrim
Keywords: Fred, Weinhaus, ImageMagick, Autotrim
License: GPL-1.0+
Latest release: over 1 year ago
First release: almost 3 years ago
Downloads: 3,639 total
Stars: 46 on GitHub
Forks: 11 on GitHub
Total Commits: 253
Committers: 9
Average commits per author: 28.111
Development Distribution Score (DDS): 0.455
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/dlemstra
Last synced: about 9 hours ago

    Loading...
    Readme
    Loading...