Ejemplo n.º 1
0
 public static Image acquire(Device d, IWriter writer)
 {
     Image img = new Image(d,writer);
     img._owner=d;
     //img._lastStatus=img.read(d);
     img.setStatus(img.read(d));
     /*try{
         img._pixbuf = new Pixbuf(writer.getBytes());
     }catch(NotSupportedException e)
     {
         Console.WriteLine("Reading from open stream not supported by writter backend");
     }*/
     //writer.close();
     return img;
 }