mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 17:16:03 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
1.4 KiB
1.4 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | |||||
|---|---|---|---|---|---|---|---|---|---|
| How to: Chain BitmapSource Objects Together | 03/30/2017 |
|
|
32d88853-395b-4855-9685-51a482a3b421 |
How to: Chain BitmapSource Objects Together
This example shows how you can apply a variety of effects to an image source by chaining multiple xref:System.Windows.Media.Imaging.BitmapSource derived objects together.
The following example uses chaining to flip and change the pixel format of the source of an image.
Example
[!code-xamlImagingSnippetGallery_snip#ChainedBitmapSourcesXamlExampleWholePage]
[!code-csharpImagingSnippetGallery_procedural_snip#ChainedBitmapSourcesCodeExampleWholePage] [!code-vbImagingSnippetGallery_procedural_snip#ChainedBitmapSourcesCodeExampleWholePage]