1

When you take a picture with the integrated camera, windows 8 automatically starts a cropping tool. You can enable it with this code:

CameraCaptureUI cameraUI = new CameraCaptureUI();
cameraUI.PhotoSettings.AllowCropping = true;

I need something similar for a picture which is chosen from the file picker. Is there any way to use the same Image-Cropper-Tool in the FilePicker as for the camera or do I have to implement it on my own?

Farhan Ghumra
  • 15,180
  • 6
  • 50
  • 115
Jan Hommes
  • 5,122
  • 4
  • 33
  • 45

1 Answers1

4

You need to implement on your own. Check out this awesome MSDN sample and another blog post

How to crop bitmap in a Windows Store app (C#)

An Image Cropper control for Windows 8 Store apps

Farhan Ghumra
  • 15,180
  • 6
  • 50
  • 115
  • That is an awesome example. Too bad there isn't a built in control that does that for us. Thanks for the link! – webdad3 Mar 30 '14 at 15:49