How to Crop an Image in a Windows Store Application
- Posted: Nov 12, 2012 at 12:00AM
- 21,170 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