{I+=codeWee;}
[C++] GdiPlus: Create Bitmap From Byte Array
#include <GdiPlus.h>
using namespace Gdiplus;
#pragma comment(lib, "Gdiplus.lib")



	BYTE* pImageData = new BYTE[nImageWidth * 4 * nImageHeight];
	Bitmap bmp(nImageWidth, nImageHeight, 4 * nImageWidth, PixelFormat32bppARGB, pImageData);
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.