Closed CrisisPeng closed 4 years ago
Hi.
The example DS does not support anything besides the most basic RGB BMP, e.g. RLE-compressed BMPs will most likely fail miserably. It is not meant as a building block for any production stuff - it is just an example on how TWPP
can be used for source development.
ok,i got it.tks.
hi! i found that there is a problem about memoryxfer mode,if transfer RGB bitmap,it's ok,while in Gray or BlackWhite bitmap data,it is unnecessary to switch channels for Red and Blue channel。 //BGR BMP -> RGB memory transfer for (; line + 3 < out; line += 3) { std::swap(line[0], line[2]); }