Files
docs-desktop/dotnet-desktop-guide/framework/wpf/graphics-multimedia/how-to-convert-a-bitmapsource-to-an-indexed-pixel-format.md
T
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.5 KiB

title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
title ms.date dev_langs helpviewer_keywords ms.assetid
How to: Convert a BitmapSource to an Indexed Pixel Format 03/30/2017
csharp
vb
pixel format [WPF], palettized
graphics [WPF], converting BitmapSource objects to indexed pixel format
BitmapSource objects [WPF], converting to indexed pixel format
palettized pixel format [WPF]
indexed pixel format [WPF]
pixel format [WPF], indexed
graphics [WPF], converting BitmapSource objects to palettized pixel format
converting [WPF], BitmapSource objects to indexed pixel formats
converting [WPF], BitmapSource objects to palettized pixel format
BitmapSource objects [WPF], converting to palettized pixel format
ccb03a83-8c72-4353-89da-48312d16548b

How to: Convert a BitmapSource to an Indexed Pixel Format

This example shows how to convert a xref:System.Windows.Media.Imaging.BitmapSource to an indexed pixel format.

Example

[!code-csharpImagingSnippetGallery_procedural_snip#FormatConvertedBitmapCodeExample2WholePage] [!code-vbImagingSnippetGallery_procedural_snip#FormatConvertedBitmapCodeExample2WholePage]