Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.1
-
None
-
85e621e3ecf449bb0587bd4da97ca66179b24f31
Description
Bug in function
bool QDDSHandler::write(const QImage &outImage) ... for (int width = 0; width < image.width(); width++) { for (int height = 0; height < image.height(); height++) { QRgb pixel = image.pixel(height, width);;
This line produce qWarning:
QImage::pixel: coordinate (418,369) out of range
Correct version is:
QRgb pixel = image.pixel(width, height);