Beispiel #1
0
 static Png()
 {
     FormatMap = new Collections.Bimap <System.Drawing.Imaging.PixelFormat, Format>();
     FormatMap.AddLeft(System.Drawing.Imaging.PixelFormat.Format32bppArgb, Format.B8G8R8A8UNorm);
     FormatMap.AddLeft(System.Drawing.Imaging.PixelFormat.Format32bppPArgb, Format.B8G8R8A8UNorm);
     FormatMap.AddLeft(System.Drawing.Imaging.PixelFormat.Format24bppRgb, Format.B8G8R8UNorm);
 }
Beispiel #2
0
 static Png()
 {
     FormatMap = new Collections.Bimap<System.Drawing.Imaging.PixelFormat, Format>();
     FormatMap.AddLeft(System.Drawing.Imaging.PixelFormat.Format32bppArgb, Format.B8G8R8A8UNorm);
     FormatMap.AddLeft(System.Drawing.Imaging.PixelFormat.Format32bppPArgb, Format.B8G8R8A8UNorm);
     FormatMap.AddLeft(System.Drawing.Imaging.PixelFormat.Format24bppRgb, Format.B8G8R8UNorm);
 }