8/8/2014 11:09 AM
Recently I ran into a remarkable image processing algorithm known as Seam Carving. This algorithm allows shrinking images (either horizontally or vertically) while preserving the most significant parts of the image.
To my disappointment I also discovered that my favorite free image editing program Paint.NET lacks the seam carving functionality, neither any of the existing plugins implements it. So...
... I decided to make such plugin myself. Unfortunately, the standard Paint.NET plugin API doesn't provide certain capabilities, among them is resizing an image canvas, so I had to use .NET Reflection to do the trick. This means that the plugin falls into the "unsafe" category and is not allowed to be published in the official plugin repository. But you can find it here (zipped plugin dll)
. Or check the project page at GitHub