How to get BITMAP data from QImage ?
I am newbie for C++ language and QT. I'm writing a program that get frames from video and process with a 3rd party SDK in MinGW compiler. I can get frames with OpenCV (cv::Mat). But SDK just read .bmp file data. So, I need a solution for convertion. How can I convert cv::Mat to BITMAP or QImage to BITMAP without gdiplus ?
Sorry for bad english.
Re: How to get BITMAP data from QImage ?
QImage can save in bmp format, might even do that automatically if the file extension is .bmp, but you can specify the format as an additional argument.
Cheers,
_