How to Crop an Image in a Windows Store Application

Sign in to queue

Description

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.


Button Your App Adventure Starts here. Build your Windows Store and Windows Phone Apps and games here.



AzureBanner_Small_thumb2

Try Windows Azure for free with no cost or obligations, and use any OS, language, database or tool. FREE Download


 



Embed

Download

Download this episode

The Discussion

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.