Beispiel #1
0
 public decoder(reader r = default, @string vers = default, long width = default, long height = default, long loopCount = default, long delayTime = default, byte backgroundIndex = default, byte disposalMethod = default, byte imageFields = default, byte transparentIndex = default, bool hasTransparentIndex = default, color.Palette globalColorTable = default, slice <long> delay = default, slice <byte> disposal = default, slice <ptr <image.Paletted> > image = default, array <byte> tmp = default)
 {
     this.r                   = r;
     this.vers                = vers;
     this.width               = width;
     this.height              = height;
     this.loopCount           = loopCount;
     this.delayTime           = delayTime;
     this.backgroundIndex     = backgroundIndex;
     this.disposalMethod      = disposalMethod;
     this.imageFields         = imageFields;
     this.transparentIndex    = transparentIndex;
     this.hasTransparentIndex = hasTransparentIndex;
     this.globalColorTable    = globalColorTable;
     this.delay               = delay;
     this.disposal            = disposal;
     this.image               = image;
     this.tmp                 = tmp;
 }
Beispiel #2
0
 public Paletted(slice <byte> Pix = default, long Stride = default, Rectangle Rect = default, color.Palette Palette = default)
 {
     this.Pix     = Pix;
     this.Stride  = Stride;
     this.Rect    = Rect;
     this.Palette = Palette;
 }
Beispiel #3
0
 public decoder(io.Reader r = default, image.Image img = default, hash.Hash32 crc = default, long width = default, long height = default, long depth = default, color.Palette palette = default, long cb = default, long stage = default, uint idatLength = default, array <byte> tmp = default, long interlace = default, bool useTransparent = default, array <byte> transparent = default)
 {
     this.r              = r;
     this.img            = img;
     this.crc            = crc;
     this.width          = width;
     this.height         = height;
     this.depth          = depth;
     this.palette        = palette;
     this.cb             = cb;
     this.stage          = stage;
     this.idatLength     = idatLength;
     this.tmp            = tmp;
     this.interlace      = interlace;
     this.useTransparent = useTransparent;
     this.transparent    = transparent;
 }