RaUI/Source/MyDb/WebP/WebPEncoder.cs
鑫Intel a1d6dce946 ### 2021-08-03更新
------
#### MyDbV4    V3.0.2108.0301
- *.[新增]新增内置HtmlAgilityPack组件。
2021-08-30 19:47:56 +08:00

22 lines
583 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace LibwebpSharp
{
/// <summary>
///
/// </summary>
public class WebPEncoder
{
/// <summary>
/// The encoder's version number
/// </summary>
/// <returns>The version as major.minor.revision</returns>
public string GetEncoderVersion()
{
int version = Native.WebPEncoder.WebPGetEncoderVersion();
return String.Format("{0}.{1}.{2}", (version >> 16) & 0xff, (version >> 8) & 0xff, version & 0xff);
}
}
}