How could I load *pixel to scretchBlt() function?
Posted: 2015-11-04T00:49:05-07:00
I'd like to display to MFC view which pixels of ImageMagicK. I've got a variable like this pixelpacket *pixel from ImageMagicK library.
Pixelpacket * pixel = my_image.getpixels(0,0,640,480);
I think that I have to use *pixel for displaying at MFC then it will might be work.
I'd like to use stretchBlt function. But I don't know what kinds functions are need it morez and how to implement it. Would you please help me ?
Especially, How could I use *pixel into scretchBlt() function?
Pixelpacket * pixel = my_image.getpixels(0,0,640,480);
I think that I have to use *pixel for displaying at MFC then it will might be work.
I'd like to use stretchBlt function. But I don't know what kinds functions are need it morez and how to implement it. Would you please help me ?
Especially, How could I use *pixel into scretchBlt() function?