KFreonLib.Textures.ME2Texture2D.DumpImage C# (CSharp) Method

DumpImage() public method

public DumpImage ( string strImgSize, string archiveDir = null, string fileName = null ) : void
strImgSize string
archiveDir string
fileName string
return void
        public void DumpImage(string strImgSize, string archiveDir = null, string fileName = null)
        {
            ImageSize imgSize = ImageSize.stringToSize(strImgSize);
            if (privateimgList.Exists(img => img.imgSize == imgSize))
                DumpImageData(privateimgList.Find(img => img.imgSize == imgSize), archiveDir, fileName);
            else
                throw new FileNotFoundException("Image with resolution " + imgSize + " not found");
        }

Same methods

ME2Texture2D::DumpImage ( ImageSize imgSize, string archiveDir ) : byte[]