Exemplo n.º 1
0
        /// <summary>
        /// Prepares the stream for encoding.
        /// </summary>
        /// <returns></returns>
        public override bool Open()
        {
            this.context        = new TGAEncodeContext();
            this.context.Header = new TGABitstreamHeader();

            this.WriteHeader(this.context.Header);

            return(true);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Prepares the stream for encoding.
        /// </summary>
        /// <returns></returns>
        public override bool Open()
        {
            this.context = new TGAEncodeContext();
            this.context.Header = new TGABitstreamHeader();

            this.WriteHeader(this.context.Header);

            return true;
        }