I am working with QGIS 3.28.4. I have set the export resolution to 300dpi in the layout properties but when I export the layout as a PDF it gets exported at 72dpi. If I export it as png it gets exported at 300dpi. How can I resolve this and make sure the PDF gets exported at 300dpi?

1 Answer 1


Maybe setting the environment variable GDAL_PDF_DPI helps (Settings > Options... > System > Environment):

enter image description here

  • It worked Thanks Nov 14, 2023 at 5:09

Your Answer

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

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