예제 #1
0
 public static void To24BitsTga(Bitmap bitmap, string path, SegaSaturnColor transparentColor = null)
 {
     using (Stream file = File.Create(path))
     {
         SegaSaturnImageConverter.To24BitsTga(bitmap, file, transparentColor);
     }
 }
예제 #2
0
 public static void To24BitsTga(SegaSaturnTexture texture, Stream output, SegaSaturnColor transparentColor = null)
 {
     using (Bitmap bmp = SegaSaturnImageConverter.ToBitmap(texture))
     {
         SegaSaturnImageConverter.To24BitsTga(bmp, output, transparentColor);
     }
 }