Hi,
I am trying to display bitmap images in my program, but for some reason certain images will not display. I have created the images through MSPaint. The only difference I did was by scanning the images in or drawing through paint. The files that were drawn through paint are getting saved with a Bit Depth of 32, while the scan pictures get a Bit Depth of 24. The pictures with a Bit Depth of 24 all will display, however the 32 bit depth will not show. I did modify a picture I drew in MSPaint and changed the bit depth to 24 and then the images displayed. Is there a parametet in the BitBlt function that I might be missing that will control the Bit Depth. I am currently using the "SRCCOPY" option.
Thanks
I am trying to display bitmap images in my program, but for some reason certain images will not display. I have created the images through MSPaint. The only difference I did was by scanning the images in or drawing through paint. The files that were drawn through paint are getting saved with a Bit Depth of 32, while the scan pictures get a Bit Depth of 24. The pictures with a Bit Depth of 24 all will display, however the 32 bit depth will not show. I did modify a picture I drew in MSPaint and changed the bit depth to 24 and then the images displayed. Is there a parametet in the BitBlt function that I might be missing that will control the Bit Depth. I am currently using the "SRCCOPY" option.
Thanks