Files
Andy De George da363692ff Initial WPF content migrated (#17)
* 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
2020-09-04 09:46:28 -07:00

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
csharp
vb
BitmapSource objects [WPF], chaining
graphics [WPF], chaining BitmapSource objects
chaining BitmapSource objects [WPF]
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]