Image Manipulation in .Net
There are a lot of little caveats to working directly within System.Drawing... I've gotten sick of re-learning the intricacies of cropping, resampling (smoothly), and other things that are trivial in any photo editing app.
I posted on this a couple weeks ago, and just found the need to go back & butter it up. Reference the dll in your .Net project for:
* Cropping from top, bottom, left, or right
* Resampling, optionally maintain aspect ratio against height or width, keep the quality intact (default GDI scaling is a mess)
* Save to jpg & set compression %
* Keep undo/redo history to shuffle through as needed
For anyone that could use such things, simply grab this zip, add a reference to the dll, and go to town. Inside the zip, you'll find the source project & and a winforms demo app project that uses each of the methods.
Documentation - note, you may need to unblock chm to view content (see details from Julie Lerman's post)
[View the Documentation (chm)]
dll, demo, & source
[.Net ImageManipulator]
Print | posted on Saturday, February 18, 2006 7:39 PM