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

Popular posts from this blog

[VS2010][VS2015] "stdafx.h 을 포함 소스를 찾을 수 없습니다" 에러 해결법