well, working now. I think.
This commit is contained in:
@@ -150,6 +150,7 @@ public:
|
||||
} else if (frame.colorFormat == frame::colormap::RGBA) {
|
||||
std::cout << "found incorrect colormap. converting from RGBA" << std::endl;
|
||||
std::vector<uint8_t> fdata = convertRGBAtoRGB(frame.getData());
|
||||
std::cout << "source data: " << frame.getData().size() << " out data: " << fdata.size() << std::endl;
|
||||
return saveBMP(filename, fdata, frame.getWidth(), frame.getHeight());
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user