I have to save /Export raster layer to image . How this can be done using Python Script .
I can do this with GDAL script but this creates an image with low resolution
gdal_translate -of GTiff abc.tif out.jpeg
gdal_translate -of JPEG -B 1 -B 2 -B 3 abc.tif out.jpeg
Is there any way to preserve the resolution while creating image using GDAL ?