Exemplo n.º 1
0
        public BitmapData(byte[] palette, byte[] buffer, int width, int height)
        {
            /* Initialize members. */
            _width = width;
            _height = height;

            /* Create a 8-bit PNG wrapper. */
            _wrapper = new PngWrapper(palette, buffer, width, height);
        }
Exemplo n.º 2
0
        public BitmapData(byte[] palette, byte[] buffer, int width, int height)
        {
            /* Initialize members. */
            _width  = width;
            _height = height;

            /* Create a 8-bit PNG wrapper. */
            _wrapper = new PngWrapper(palette, buffer, width, height);
        }