I want to import a PDF (approximately 30 MB) and perform Georeferencing. However, when I try to import the PDF to the "Georeferencer" my CPU usage boosts up to 100%, QGIS freezes and does not respond anymore. I have relatively modern hardware (I5 11th gen, 16 Gb RAM, IRIS XE graphics).

I am using QGIS 3.16.

  • Now I was able to import the PDF (after waiting for half an hour). Nonetheless, the PDF is not displayed. Nov 26, 2021 at 14:37

1 Answer 1


Guess it would be much more performant, if you convert your PDF to TIFF first using gdal_translate inside OSGeo4W shell.

With transparency:

gdal_translate --config GDAL_PDF_BANDS 4 --config GDAL_CACHEMAX 1024 -co NUM_THREADS=ALL_CPUS -co COMPRESS=DEFLATE -co ZLEVEL=9 -co PREDICTOR=2 -co TILED=YES <source.pdf> <target.tif>

Without transparency:

gdal_translate --config GDAL_CACHEMAX 1024 -co NUM_THREADS=ALL_CPUS -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co TILED=YES -co JPEG_QUALITY=90 -b 1 -b 2 -b 3 <source.pdf> <target.tif>

Afterwards you can add overlays as well:

gdaladdo --config COMPRESS_OVERVIEW JPEG --config PHOTOMETRIC_OVERVIEW YCBCR --config GDAL_TIFF_INTERNAL_MASK YES -r cubicspline <source.tif> 2 4 8 16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.