O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Modifying an image

An application may not only present images, but also modify them, such as by rotating, flipping, adjusting contrast, or by adding some additional shapes to it. Such features can be used to allow a user to adjust the photo after taking it using a camera or to create some special effects. Such a task is significantly simplified by the WriteableBitmapEx library ( https://github.com/teichgraf/WriteableBitmapEx/ ), which can be downloaded using the NuGet Package Manager, as you will see in this recipe.

As an example, you will create a simple application that loads the Image.jpg file from the Assets directory and performs a set of modifications, namely adjusting contrast and brightness, vertical flipping, as well as drawing two rectangles. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required