dotnet / dotnet/wpf

Enabling/extending available PixelFormats

Open
#4,570 0 comments 5 reactions 0 assignees View on GitHub
Feature Request
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

The set of available PixelFormats is rather limited compared to the formats available in [WIC](https://docs.microsoft.com/en-us/windows/win32/wic/-wic-codec-native-pixel-formats) (which is extensible as well).

On several occasions I was looking for Rgb128Float and in my most recent project I would have used Bgr48 and the generic 3-4 channels if they were available.

There does not seem to be a public API to specify pixel format by GUID either - is it only question of defining the members and letting WIC do the heavy work, or does WPF actually have to implement any pixel format specific conversions itself?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.