diff --git a/watermark.py b/watermark.py
index 06e6861a7002eebbb435ca88593895d22a22154b..25785b590acc8c380bb427e82fa70ab940e2f50b 100644
--- a/watermark.py
+++ b/watermark.py
@@ -152,7 +152,7 @@ def watermark_img(img_file, template, dpi):
 
     # Save image as PDF and delete original image file
     pdf_file = os.path.splitext(img_file)[0] + '.pdf'
-    out.save(pdf_file)
+    out.save(pdf_file, resolution=dpi)
     if os.path.isfile(img_file):
         os.remove(img_file)