Forum


Replies: 1   Views: 116
Image quality in document after insertion

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.