WPF Interactive Image Cropping Control

The other day one of my friends asked me how easy it would be to create an image cropper in WPF. I had a think about this and created a little article at codeproject.

Its a WPF control that allows the user to create a rubber band crop area that may be moved and previewed. When the user is happy they can save the image. At the moment it uses Interop with .NET Drawing namespace to do the actual image save as I couldnt find the correct .NET 3.0 class to allow me to save. But there is an excellent entry in the forum telling you how to do it all with pure .NET 3.0 code.

Anyway it looks like this, and the original article is available here

cropbig.png

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: