Forum


Replies: 2   Views: 210
Watermarkpdf image sizes
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by Lochspring  · 18-03-2022 - 13:09

This appears to have resolved my issue. I've elected to resize the image prior to insertion into the document, and then do a secondary sizing calculation if needed after the fact.  

As a note, it might be worth mentioning the size parameter differences more explicitly, perhaps with an example calculation on dpi and size as you did in the example above.   It's not truly clear that you would need to do some math to make the PDF sizes make sense.