{I+=codeWee;} |
#include <GdiPlus.h> using namespace Gdiplus; #pragma comment(lib, "Gdiplus.lib") GdiplusStartupInput gdiplusStartupInput; ULONG_PTR gdiplusToken; GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL); Gdiplus::Bitmap * image = Gdiplus::Bitmap::FromFile(filename); if (image == NULL) return FALSE; if (Gdiplus::Ok != image->GetLastStatus()) return FALSE; GdiplusShutdown(gdiplusToken);