public static void Run()
{
// ExStart:ExportWebPToOtherImageFormats
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_WebPImages();
// Load WebP image into the instance of image class.
using (Image image = Image.Load(dataDir + "asposelogo.webp"))
{
// Save the image in WebP format.
image.Save(dataDir + "ExportWebPToOtherImageFormats_out.bmp", new BmpOptions());
}
// ExEnd:ExportWebPToOtherImageFormats
}
}