Add support for Format16bppRgb555 in Bitmap wrapper

This commit is contained in:
Julien Loir 2021-04-12 13:49:36 +02:00
parent e10657169e
commit 1711f98bd5

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: