note 124856 added to imagick.setimagealphachannel

From: Date: Wed, 25 Mar 2020 15:09:23 +0000
Subject: note 124856 added to imagick.setimagealphachannel
Groups: php.notes 
Request: Send a blank email to php-notes+get-214378@lists.php.net to get a copy of this message
If you're having trouble with white backgrounds turning black when converting PDFs to other formats, you need to use this function with Imagick::ALPHACHANNEL_REMOVE as the parameter (this is not currently on the constants page, but it exists in PHP 7.2) to remove the alpha channel. <?php $im->setImageAlphaChannel(Imagick::ALPHACHANNEL_REMOVE ); ?> ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.195 (proxied: 81.109.86.207) ---- Manual Page -- http://php.net/manual/en/imagick.setimagealphachannel.php Edit -- https://master.php.net/note/edit/124856 Del: integrated -- https://master.php.net/note/delete/124856/integrated Del: useless -- https://master.php.net/note/delete/124856/useless Del: bad code -- https://master.php.net/note/delete/124856/bad+code Del: spam -- https://master.php.net/note/delete/124856/spam Del: non-english -- https://master.php.net/note/delete/124856/non-english Del: in docs -- https://master.php.net/note/delete/124856/in+docs Del: other reasons-- https://master.php.net/note/delete/124856 Reject -- https://master.php.net/note/reject/124856 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#214378) next »