The ARGB record behaves exactly like the RGBA record, but the alpha value for the ARGB record is in the first byte.
Inheritance: Rgba
Ejemplo n.º 1
0
        /// <summary>
        /// Parses this object out of a stream
        /// </summary>
        /// <param name="input">The input stream.</param>
        /// <param name="imageDataSize">The size of the image Data</param>
        public void Parse( Stream input, Int32 imageDataSize )
        {
            Argb temp = null;

            this._bitmapPixelData = new List<Rgb>();

            for ( int i = 0; i < imageDataSize; i++ )
            {
                temp = new Argb(this._SwfVersion);
                temp.Parse( input );
                this._bitmapPixelData.Add( temp );
            }
        }