Question

When i print invoice in magento give a error regarding png

Posted December 1, 2016 2.2k views
UbuntuApachePHP Frameworks

Hello,

I am newbie on digital ocean server.I have installed magento2 in droplet. when i print invoice give a below error.

“Alpha PNGs with bit depth > 8 are not yet supported”

is it means server does not support?

Please help me.

Thanks

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hello,

You may need to install ImageMagick (and/or the related PHP module for your distribution) for the app to handle images as needed.

http://php.net/manual/en/book.imagick.php

That may allow Magento to process/handle the images as desired.

Thanks for reply.

after above solution one another problem show. Give error folder is not writable. See below

The path “.:///var/www/html/magento2/var/var/www/html/magento2/var/” is not writable

Here my root Path is /var/www/html/magento2/ but this path showing twice when i generate pdf and give a writable permission error.

Please help me

Submit an Answer