How to Crop an Image in a Windows Store Application
- Posted: Nov 12, 2012 at 12:00 AM
- 20,259 Views
- 4 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
In a typical .NET WPF application, we can use the System.Windows.Media.Imaging.CroppedBitmap class to crop a bitmap, but in a Windows Store app, this class is not available. In Windows Store app, you can crop a bitmap by using a BitmapTransform class while reading the bitmap in a BitmapDecoder. In this video, we will demonstrate how to crop an image in a Windows Store application.
Your App Adventure Starts here. Build your Windows Store and Windows Phone Apps and games here.
Try Windows Azure for free with no cost or obligations, and use any OS, language, database or tool. FREE Download