well, working now. I think.

This commit is contained in:
yggdrasil75
2025-11-24 17:24:34 -05:00
parent 89596ee2be
commit 72c318a320
3 changed files with 9 additions and 8 deletions

View File

@@ -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 {