Different Bytes Count of QImage
Solved
General and Desktop
-
Hi,
Does anybody understand the size in bytes of the QImage?QImage image128(128, 128, QImage::Format_Grayscale8); image128.sizeInBytes(); // == 16384, which is 128*128 QImage image102(102, 102, QImage::Format_Grayscale8); image102.sizeInBytes(); // == 10608, which is NOT 102*102, but 102*104 ?!?
Thanks