Provides content-aware image resizing and 5 different algorithms.
Based on the CAIR (v2.19) library.
This plugin requires full trust to work. On 32-bit PNG images, the alpha channel is reduced to a single bit. Works best with jpeg and gif images.
For live examples, see this page.
Install-Package ImageResizer.Plugins.SeamCarving in the NuGet package manager, or:
- Add ImageResizer.Plugins.SeamCarving.dll to your project
<add name="SeamCarving" />inside
Notice: This plugin is very resource intensive and requires a dedicated server to function in real time. Timeouts can occur when seam carving, as some images take longer to carve than others. For best results, use seam carving via the Managed API, and save the results to disk. The URL API can be used for providing real-time editing and object removal, but you will need powerful server hardware to make it responsive.