I have wrote this code below, it is supposed to create the bitmap object from the file. It's building ok, but when running the object has no data about the picture. Even worse - the pixel color pixelKolor doesn't change after GetPixel method... why??
#include <GdiPlus.h>
using namespace Gdiplus;
wfile = L"D:\\are0.bmp";
Bitmap bitmapa(wfile, useIcm);
Color pixelKolor(100,100,100,100);
int h = bitmapa.GetHeight();
int w = bitmapa.GetWidth();
bitmapa.GetPixel(100,120,&pixelKolor);
alfa = pixelKolor.GetAlpha();
thnx
#include <GdiPlus.h>
using namespace Gdiplus;
wfile = L"D:\\are0.bmp";
Bitmap bitmapa(wfile, useIcm);
Color pixelKolor(100,100,100,100);
int h = bitmapa.GetHeight();
int w = bitmapa.GetWidth();
bitmapa.GetPixel(100,120,&pixelKolor);
alfa = pixelKolor.GetAlpha();
thnx