Exemple #1
0
 public static DevImage FromBytes(byte[] bytes)
 {
     DevImage newImage = new DevImage(1, 1);
     if (newImage.Load(bytes))
     {
         return newImage;
     }
     return null;
 }
Exemple #2
0
 public static DevImage FromFile(string path)
 {
     DevImage newImage = new DevImage(1, 1);
     if (newImage.Load(path))
     {
         return newImage;
     }
     return null;
 }