transformDocument works well when converting to PNG.
However the image obtained is of medium quality. Is there a way to increase image quality or resolution?
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it nowtransformDocument works well when converting to PNG.
However the image obtained is of medium quality. Is there a way to increase image quality or resolution?
Hello,
There's no option to change the image resolution/quality output. You could transform DOCX to PDF using transformDocument and then convert this PDF to image using ImageMagick (https://stackoverflow.com/questions/9227014/convert-pdf-to-jpeg-with-php-and-imagemagick) that allows setting resolution and quality.
Regards.