Forum


Replies: 1   Views: 144
Image quality in document after insertion
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 admin  · 20-09-2024 - 06:02

Hello,

phpdocx doesn't change image quality. We recommend you read the documentation available at https://www.phpdocx.com/documentation/cookbook/standardize-image-size.

When using replacePlaceholderImage, you can set the image dimensions and get the needed output without distortion by setting the height, width, and dpi options. These options allow the use of placeholder sizes or new values from the image.

Regards.