7 references to Gray16
PresentationCore (7)
System\Windows\Media\Imaging\BitmapSource.cs (1)
1019
else if (bitsPerPixel <= 16 && format.Format != PixelFormatEnum.
Gray16
) // For Gray16, one of the RGB Formats is closest
System\Windows\Media\PixelFormat.cs (5)
217
_ when pixelFormatString.Equals("Gray16", StringComparison.OrdinalIgnoreCase) => PixelFormatEnum.
Gray16
,
253
PixelFormatEnum.
Gray16
=> WICPixelFormatGUIDs.WICPixelFormat16bppGray,
551
PixelFormatEnum.
Gray16
=> PixelFormats.Gray16,
674
PixelFormatEnum.
Gray16
=> PixelFormatFlags.BitsPerPixel16 | PixelFormatFlags.IsSRGB | PixelFormatFlags.IsGray,
701
PixelFormatEnum.
Gray16
=> 16,
System\Windows\Media\PixelFormats.cs (1)
256
return new PixelFormat(PixelFormatEnum.
Gray16
);