Exemplo n.º 1
0
        /// <summary>
        /// Converts the alpha channel of the currently loaded DDS image into a greyscale bitmap.
        /// </summary>
        /// <returns>A greyscale bitmap representing the current DDS image alpha channel.</returns>
        public Bitmap GetGreyscaleFromAlpha()
        {
            if (!this.loaded)
            {
                return(null);
            }

            return(ddsFile.GetGreyscaleFromAlpha());
        }