コード例 #1
0
        public int CalcCapacityWithCompressionAndStego(int height, int width, bool compress)
        {
            int capacity = _stegoMethod.CalculateImageCapacity(height, width);

            if (compress)
            {
                capacity = _compressMethod.ApproxSizeAfterCompression(capacity);
            }
            return(capacity);
        }