editing image in qgis plugin