Moved RGB fix inside ImageQt class #5268
Resolves #5266. A workaround suggested in that issue is to change the user code. This PR causes the original code mentioned there to work.
This 'strange bug' is because at https://doc.qt.io/qt-5/qimage.html
QImage is expecting the 4th channel to be populated with 0xff (255). Calling
Without 255 values, as seen in the issue, the display in Qt is very washed out.
This PR just documents the fix slightly better, and moves it from
The text was updated successfully, but these errors were encountered: