mbednarski
mbednarski

Reputation: 798

WPF IrfanView-style image cropping control

I am looking for a control for cropping images as it is in eg. IrfanView (Drawing rectangle with possibility to move individual sides). I have not found anything like this. Does such control exists?

Upvotes: 1

Views: 1807

Answers (1)

Adi Lester
Adi Lester

Reputation: 25211

You should have a look at the CroppedBitmap class, there are several tutorials out there explaining how to use it. This example uses it with an adorner in order to visually select the area that should be cropped.

Upvotes: 3

Related Questions