C++ (Qt) qDebug() << "Width =" << width() << "pix " << widthMM() << "mm" << '\n' << "Height =" << height() << "pix " << heightMM() << "mm";