note 85847 added to function.imagerotate
| From: | BertVandeghinste at osu1 dot php dot net | Date: | Sat, 20 Sep 2008 14:17:40 +0000 |
| Subject: | note 85847 added to function.imagerotate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-144572@lists.php.net to get a copy of this message | ||
I'm now using david's code with these changes to get a transparent effect.
I exec convert 2 times:
exec( $imagick . ' -background \'#555555\' -rotate ' . $angle . ' ' .
$file1 . ' ' . $file2 );
exec( $imagick . ' -transparent \'#555555\' -transparent-color \'#555555\'
' . $file2 . ' ' . $file3 );
and then use this after I rotated $output:
imagecolortransparent($output, imagecolorallocatealpha($output, 85, 85, 85, 127));
----
Server IP: 195.207.10.20
Probable Submitter: 157.193.4.225
----
Manual Page -- http://www.php.net/manual/en/function.imagerotate.php
Edit -- https://master.php.net/note/edit/85847
Del: integrated -- https://master.php.net/note/delete/85847/integrated
Del: useless -- https://master.php.net/note/delete/85847/useless
Del: bad code -- https://master.php.net/note/delete/85847/bad+code
Del: spam -- https://master.php.net/note/delete/85847/spam
Del: non-english -- https://master.php.net/note/delete/85847/non-english
Del: in docs -- https://master.php.net/note/delete/85847/in+docs
Del: other reasons-- https://master.php.net/note/delete/85847
Reject -- https://master.php.net/note/reject/85847
Search -- https://master.php.net/manage/user-notes.php