C Win32: save .bmp image from HBITMAP

前端 未结 4 2100
谎友^
谎友^ 2021-02-20 07:13

I am working with a framegrabber and need to get the images from computer memory and save them on an image file. after trying for couple of days I end up with the following 2 fu

4条回答
  •  灰色年华
    2021-02-20 08:03

    Are you sure there is proper data in there?

    I would try extract the RGB data and save it in some very simple format "manually", just to see what is in there. If you are looking for a dead simple but still standard image format, look at PPM images.

提交回复
热议问题