skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class PixelFormats

Inheritance
System.Object
PixelFormats
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.RichTextEditor.UI
Assembly: Telerik.WinControls.RichTextEditor.dll

Syntax

public static class PixelFormats

Properties

Bgr101010

Gets the System.Windows.Media.PixelFormats.Bgr101010 pixel format. System.Windows.Media.PixelFormats.Bgr101010 is a sRGB format with 32 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 10 bits per pixel (BPP).

Declaration
public static PixelFormat Bgr101010 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Bgr101010 pixel format.

Bgr24

Gets the System.Windows.Media.PixelFormats.Bgr24 pixel format. System.Windows.Media.PixelFormats.Bgr24 is a sRGB format with 24 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 8 bits per pixel (BPP).

Declaration
public static PixelFormat Bgr24 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Bgr24 pixel format.

Bgr32

Gets the System.Windows.Media.PixelFormats.Bgr32 pixel format. System.Windows.Media.PixelFormats.Bgr32 is a sRGB format with 32 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 8 bits per pixel (BPP).

Declaration
public static PixelFormat Bgr32 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Bgr32 pixel format.

Bgr555

Gets the System.Windows.Media.PixelFormats.Bgr555 pixel format. System.Windows.Media.PixelFormats.Bgr555 is a sRGB format with 16 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 5 bits per pixel (BPP).

Declaration
public static PixelFormat Bgr555 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Bgr555 pixel format

Bgr565

Gets the System.Windows.Media.PixelFormats.Bgr565 pixel format. System.Windows.Media.PixelFormats.Bgr565 is a sRGB format with 16 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 5, 6, and 5 bits per pixel (BPP) respectively.

Declaration
public static PixelFormat Bgr565 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Bgr565 pixel format.

Bgra32

Gets the System.Windows.Media.PixelFormats.Bgra32 pixel format. System.Windows.Media.PixelFormats.Bgra32 is a sRGB format with 32 bits per pixel (BPP). Each channel (blue, green, red, and alpha) is allocated 8 bits per pixel (BPP).

Declaration
public static PixelFormat Bgra32 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Bgra32 pixel format.

BlackWhite

Gets the black and white pixel format which displays one bit of data per pixel as either black or white.

Declaration
public static PixelFormat BlackWhite { get; }
Property Value
PixelFormat

The pixel format Black-and-White.

Cmyk32

Gets the System.Windows.Media.PixelFormats.Cmyk32 pixel format which displays 32 bits per pixel (BPP) with each color channel (cyan, magenta, yellow, and black) allocated 8 bits per pixel (BPP).

Declaration
public static PixelFormat Cmyk32 { get; }
Property Value
PixelFormat

The CMYK32 pixel format.

Default

Gets the pixel format that is best suited for the particular operation.

Declaration
public static PixelFormat Default { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormat best suited for the particular operation.

Exceptions
System.NotSupportedException

The System.Windows.Media.PixelFormat properties are accessed.

Gray16

Gets the System.Windows.Media.PixelFormats.Gray16 pixel format which displays a 16 bits-per-pixel grayscale channel, allowing 65536 shades of gray. This format has a gamma of 1.0.

Declaration
public static PixelFormat Gray16 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Gray16 pixel format.

Gray2

Gets the System.Windows.Media.PixelFormats.Gray2 pixel format which displays a 2 bits-per-pixel grayscale channel, allowing 4 shades of gray.

Declaration
public static PixelFormat Gray2 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Gray2 pixel format.

Gray32Float

Gets the System.Windows.Media.PixelFormats.Gray32Float pixel format. System.Windows.Media.PixelFormats.Gray32Float displays a 32 bits per pixel (BPP) grayscale channel, allowing over 4 billion shades of gray. This format has a gamma of 1.0.

Declaration
public static PixelFormat Gray32Float { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Gray32Float pixel format.

Gray4

Gets the System.Windows.Media.PixelFormats.Gray4 pixel format which displays a 4 bits-per-pixel grayscale channel, allowing 16 shades of gray.

Declaration
public static PixelFormat Gray4 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Gray4 pixel format.

Gray8

Gets the System.Windows.Media.PixelFormats.Gray8 pixel format which displays an 8 bits-per-pixel grayscale channel, allowing 256 shades of gray.

Declaration
public static PixelFormat Gray8 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Gray8 pixel format.

Indexed1

Gets the pixel format specifying a paletted bitmap with 2 colors.

Declaration
public static PixelFormat Indexed1 { get; }
Property Value
PixelFormat

The pixel format which specifying a paletted bitmap with 2 colors.

Indexed2

Gets the pixel format specifying a paletted bitmap with 4 colors.

Declaration
public static PixelFormat Indexed2 { get; }
Property Value
PixelFormat

The pixel format which specifying a paletted bitmap with 4 colors.

Indexed4

Gets the pixel format specifying a paletted bitmap with 16 colors.

Declaration
public static PixelFormat Indexed4 { get; }
Property Value
PixelFormat

The pixel format which specifying a paletted bitmap with 16 colors.

Indexed8

Gets the pixel format specifying a paletted bitmap with 256 colors.

Declaration
public static PixelFormat Indexed8 { get; }
Property Value
PixelFormat

The pixel format which specifying a paletted bitmap with 256 colors.

Pbgra32

Gets the System.Windows.Media.PixelFormats.Pbgra32 pixel format. System.Windows.Media.PixelFormats.Pbgra32 is a sRGB format with 32 bits per pixel (BPP). Each channel (blue, green, red, and alpha) is allocated 8 bits per pixel (BPP). Each color channel is pre-multiplied by the alpha value.

Declaration
public static PixelFormat Pbgra32 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Pbgra32 pixel format.

Prgba128Float

Gets the System.Windows.Media.PixelFormats.Prgba128Float pixel format. System.Windows.Media.PixelFormats.Prgba128Float is a ScRGB format with 128 bits per pixel (BPP). Each channel (red, green, blue, and alpha) is allocated 32 bits per pixel (BPP). Each color channel is pre-multiplied by the alpha value. This format has a gamma of 1.0.

Declaration
public static PixelFormat Prgba128Float { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Prgba128Float pixel format.

Prgba64

Gets the System.Windows.Media.PixelFormats.Prgba64 pixel format. System.Windows.Media.PixelFormats.Prgba64 is a sRGB format with 64 bits per pixel (BPP). Each channel (blue, green, red, and alpha) is allocated 32 bits per pixel (BPP). Each color channel is pre-multiplied by the alpha value. This format has a gamma of 1.0.

Declaration
public static PixelFormat Prgba64 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Prgba64 pixel format.

Rgb128Float

Gets the System.Windows.Media.PixelFormats.Rgb128Float pixel format. System.Windows.Media.PixelFormats.Rgb128Float is a ScRGB format with 128 bits per pixel (BPP). Each color channel is allocated 32 BPP. This format has a gamma of 1.0.

Declaration
public static PixelFormat Rgb128Float { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Rgb128Float pixel format.

Rgb24

Gets the System.Windows.Media.PixelFormats.Rgb24 pixel format. System.Windows.Media.PixelFormats.Rgb24 is a sRGB format with 24 bits per pixel (BPP). Each color channel (red, green, and blue) is allocated 8 bits per pixel (BPP).

Declaration
public static PixelFormat Rgb24 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Rgb24 pixel format.

Rgb48

Gets the System.Windows.Media.PixelFormats.Rgb48 pixel format. System.Windows.Media.PixelFormats.Rgb48 is a sRGB format with 48 bits per pixel (BPP). Each color channel (red, green, and blue) is allocated 16 bits per pixel (BPP). This format has a gamma of 1.0.

Declaration
public static PixelFormat Rgb48 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Rgb48 pixel format.

Rgba128Float

Gets the System.Windows.Media.PixelFormats.Rgba128Float pixel format. System.Windows.Media.PixelFormats.Rgba128Float is a ScRGB format with 128 bits per pixel (BPP). Each color channel is allocated 32 bits per pixel (BPP). This format has a gamma of 1.0.

Declaration
public static PixelFormat Rgba128Float { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Rgba128Float pixel format.

Rgba64

Gets the System.Windows.Media.PixelFormats.Rgba64 pixel format. System.Windows.Media.PixelFormats.Rgba64 is an sRGB format with 64 bits per pixel (BPP). Each channel (red, green, blue, and alpha) is allocated 16 bits per pixel (BPP). This format has a gamma of 1.0.

Declaration
public static PixelFormat Rgba64 { get; }
Property Value
PixelFormat

The System.Windows.Media.PixelFormats.Rgba64 pixel format.

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.