Commit 81111245 authored by mercury233's avatar mercury233

fix png support

parent 93f91691
...@@ -155,8 +155,8 @@ namespace ImgGen ...@@ -155,8 +155,8 @@ namespace ImgGen
{ {
Bitmap image = null; Bitmap image = null;
string filename = "./pico/" + data.code.ToString() + ".jpg"; string filename = "./pico/" + data.code.ToString() + ".jpg";
//if (!File.Exists(filename)) if (!File.Exists(filename))
// filename = "./pico/" + data.code.ToString() + ".png"; filename = "./pico/" + data.code.ToString() + ".png";
try try
{ {
image = new Bitmap(filename); image = new Bitmap(filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment