コード例 #1
0
ファイル: webwidget.cpp プロジェクト: seichter/sandbox
void MyScriptSystem::setPixmap(const QPixmap& pixmap)
{
	QImage image = pixmap.toImage();

	qDebug() << image.width() << "x" <<image.height() << " " << image.bytesPerLine() << " " << image.bitPlaneCount() << image.byteCount();
}
コード例 #2
0
ファイル: webwidget.cpp プロジェクト: seichter/sandbox
void MyScriptSystem::setImage( const QImage& image )
{
	qDebug() << image.width() << "x" <<image.height() << " " << image.bytesPerLine() << " " << image.bitPlaneCount() << image.byteCount();
}