I'm trying to white a Python plugin in QGIS (2.2) to get, for each pixel of a raster image, its X Y coordinates, as well as, its RGB (3 bands) values.
At first I opened the raster file using: rlayer = QgsRasterLayer(rfileName, rbaseName)
Now I don't know how to get, for example, for pixel...