#using <system.drawing.dll>
using namespace System;
using namespace System::Drawing;
using namespace System::Drawing::Imaging;
int main(array<System::String ^> ^args)
{
Image^ image = Image::FromFile("c:\\1.bmp");
image->Save("c:\\1.png", ImageFormat::Png);
image->Save("c:\\1.jpg", ImageFormat::Jpeg);
image->Save("c:\\1.gif", ImageFormat::Gif);
image->Save("c:\\1.ico", ImageFormat::Icon);
image->Save("c:\\1.emf", ImageFormat::Emf);
return 0;
}