Reputation: 5552
I am trying to create a WPF control which crops and re-sizes an image via adorners without losing the original image ie once cropped it should be possible to get back the original by reversing the steps and the cropped image should also be resizeable.
Can't seem to come up with a viable solution.
Any bright ideas? Just need a general approach.
Upvotes: 2
Views: 5745
Reputation: 18000
Check if this helps
http://www.codeproject.com/KB/WPF/CropAdorner.aspx
http://drwpf.com/blog/2007/09/08/image-manipulation-using-wpf-imaging-classes/
Upvotes: 2
Reputation: 6583
check out
Interactive WPF image cropper control
you can download the source. should thank teamdistinction.
Upvotes: 0