I am new in QGis python plugins dev and I have a "maybe stupid" question (in the title :-) ).
I try to retrieve pixels (from a raster layer) which are "contained" in a polygon defined in a vector layer. How can I achieve that via a python plugin ? The user has to select the vector layer and the raster layer using the GUI of the plugin (which is already coded).
Thanks in advance !