CImage StretchBlt shows black rectangle / 검은네모만 보일때
As I'm making MFC code to draw signal image(CImage) on static map image(CImage), I got an issue on resizedImage is shown as black rectangle.
ex)
CImage resizedImage;
resizedImage.create(width, height, sourceImage.getBPP());
resizedImage.draw(hdc, x, y);
but sourceImage.getBPP() should be 16.
Then it works like charm.
I used sourceImage.getBPP() at parameter bpp but it show black rectangle.
Comments