I would like to work with the gdal functions provided in the processing toolbox. It is easy to call:
import processing processing.alglist() processing.runalg("gdalogr:warpreproject","/home/USER/.qgis2/python/plugins/qgis2leaf/test_data/src_img.tif","EPSG:4284","EPSG:4326",0,1,"","/home/USER/Desktop/export_image.img")
as an example. unfortunately I need jpg in the ouput or png. Is there any reason why I cannot save as jpg. I can use the warp or translate function in the GDAL toolbox with a jpg but it is hard for me to call it from within python.
Back to the question: Is there a support for jpg in the GDAL processing functions in QGIS?