Add support for Format16bppRgb555 in Bitmap wrapper

Former-commit-id: 1711f98bd5
This commit is contained in:
Julien Loir 2021-04-12 13:49:36 +02:00
parent 4eafa4533c
commit 7bee36e2ca

View file

@ -68,6 +68,8 @@ private static string ConvertStreamFormat(PixelFormat fmt)
{
case PixelFormat.Format16bppGrayScale:
return "gray16le";
case PixelFormat.Format16bppRgb555:
return "bgr555le";
case PixelFormat.Format16bppRgb565:
return "bgr565le";
case PixelFormat.Format24bppRgb: