Beispiel #1
0
 public Cjpeg(Cjpeg prev)
 {
     app0 = new APP0(prev.app0);
     dqt = new DQT(prev.dqt);
     dht = new DHT(prev.dht);
     sof = new SOF0(prev.sof);
     sos = new SOS(prev.sos);
     cb = new CBlock(prev.cb);
 }
Beispiel #2
0
 //Copy Constructor.
 public APP0(APP0 prev)
 {
     id = new byte[prev.id.Length];
     prev.id.CopyTo(id, 0);
     head_length = prev.head_length;
     dpiX = prev.dpiX;
     dpiY = prev.dpiY;
     thumb_w = prev.thumb_w;
     thumb_h = prev.thumb_h;
 }