开发者

WPF Crop and resize an image without losing original image

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 viabl开发者_运维技巧e solution.

Any bright ideas? Just need a general approach.


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/

http://blogs.msdn.com/b/delay/archive/2007/11/11/bigger-isn-t-always-better-how-to-resize-images-without-reloading-them-with-wpf.aspx


check out

Interactive WPF image cropper control

you can download the source. should thank teamdistinction.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜