I create PDFs width wkhtmltopdf
tool (renders HTML
to PDF
)
This PDFs are intended to be used for (semi) professional printing.
So lets say the printing quality should be 300dpi, and a user places a 3 inch by 3 inch Picture on this page. The uploaded picture is lets say 3000x3000 (10MB)
If my logic is correct picture size of 900x900 would be best (is this correct?)
So I see two possibilities
- put the full image into PDF and getting a size of at least 10MB, hoping that the printing company makes the best out of it
and
- resize (shrink) it to the 900x900 local on my server (imagemagick) with best quality I can get - getting a PDF size around 1MB
If my logic is correct then the second one is the correct answer.
Is it correct? If not why?