note 107709 added to imagick.setbackgroundcolor
| From: | eleg | Date: | Tue, 28 Feb 2012 15:00:00 +0000 |
| Subject: | note 107709 added to imagick.setbackgroundcolor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186410@lists.php.net to get a copy of this message | ||
Be cautious and set bgcolor BEFORE importing a SVG with transparency! :-/
<?
$im = new Imagick();
$im->setBackgroundColor(new ImagickPixel('transparent'));
$im->readImage('carte_Alain2.svg');
$im->setImageFormat("png32");
header('Content-type: image/png');
echo $im;
----
Server IP: 69.147.83.197
Probable Submitter: 193.48.4.6
----
Manual Page -- http://www.php.net/manual/en/imagick.setbackgroundcolor.php
Edit -- https://master.php.net/note/edit/107709
Del: integrated -- https://master.php.net/note/delete/107709/integrated
Del: useless -- https://master.php.net/note/delete/107709/useless
Del: bad code -- https://master.php.net/note/delete/107709/bad+code
Del: spam -- https://master.php.net/note/delete/107709/spam
Del: non-english -- https://master.php.net/note/delete/107709/non-english
Del: in docs -- https://master.php.net/note/delete/107709/in+docs
Del: other reasons-- https://master.php.net/note/delete/107709
Reject -- https://master.php.net/note/reject/107709
Search -- https://master.php.net/manage/user-notes.php