I have a GeoTIFF image, size 11gb. It's too big to work with. How can I compress it in JPEG format with QGIS? I tried through GDAL and did not succeed.
2 Answers
Try to use BigTIFF in your operation.
BIGTIFF=YES
gdal_translate -co BIGTIFF=YES -co compress=JPEG input.tif output.tif
it would help if you amended your quesiton to show us your GDAL script.
A simply go to Raster/Conversion/Translate. Then in the Converted field go to "..." - Save to file, Choose: JPG or JP2
gdal_translate -of GTiff -co tiled=yes -co compress=JPEG -co photometric=YCBCR input.tif output.tif
and then create overviews withgdaladdo -r average -ro --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR 2 4 8 16 32 64
.gdalinfo
or QGIS layer Properties->Information report for your TIFF, as currently we don't have enough informationto actually answer.