Пример #1
0
        public static void TranscodeOnly(IFormat format, FormatData data, IFormat target, FormatData destination, ProgressIndicator progress)
        {
            object decode = format.Decode(data, progress);

            target.Encode(decode, destination, progress);
            if (decode is IDisposable)
            {
                (decode as IDisposable).Dispose();
            }
        }