When i print invoice in magento give a error regarding png

December 1, 2016 1.8k views
Apache PHP Frameworks Ubuntu


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.


2 Answers


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


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

Have another answer? Share your knowledge.