Ejemplo n.º 1
0
void MyScriptSystem::setPixmap(const QPixmap& pixmap)
{
	QImage image = pixmap.toImage();

	qDebug() << image.width() << "x" <<image.height() << " " << image.bytesPerLine() << " " << image.bitPlaneCount() << image.byteCount();
}
Ejemplo n.º 2
0
void MyScriptSystem::setImage( const QImage& image )
{
	qDebug() << image.width() << "x" <<image.height() << " " << image.bytesPerLine() << " " << image.bitPlaneCount() << image.byteCount();
}