In this code alpha is always 255 even thought the box displays in my QLabel with a transparency. Can anyone tell me why alpha is always 255?

QImage img;
img.load(":/images/images/box.png");
QColor rgba( img.pixel( 1, 1) );
qDebug() << " r: "<<rgba.red()<<" g: "<<rgba.green()<<" b: "<<rgba.blue()<<" a: "<<rgba.alpha() << endl;
qDebug() << pixmap.hasAlpha() << " : " << pixmap.hasAlphaChannel() << endl;