Report this

What is the reason for this report?

When i print invoice in magento give a error regarding png

Posted on December 1, 2016

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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.