Bitmap bitmap(width,height,stride,PixelFormat32bppARGB,pData);
UINT num;
UINT size;
ImageCodecInfo* pImageCodecInfo;
GetImageEncodersSize(&num, &size);
pImageCodecInfo = (ImageCodecInfo*)(malloc(size));
GetImageEncoders(num, size, pImageCodecInfo);
for(int i=0;iBitmap bitmap(width,height,stride,Pixel