ID: 43828 User updated by: christopher dot bertram at yahoo dot de Reported By: christopher dot bertram at yahoo dot de -Status: No Feedback +Status: Open Bug Type: GD related Operating System: Win Xp, Win Vista x64 PHP Version: 5.2.5 Assigned To: pajoye New Comment:
The problem still exists. Previous Comments: ------------------------------------------------------------------------ [2008-11-10 01:00:05] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-11-02 13:23:21] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2008-01-12 23:08:14] christopher dot bertram at yahoo dot de Description: ------------ the imagearc and imagefilledarc functions don't seem to support images using truecolor and alphablending. In the following example I don't need alphablending, but I require it to use other images as background. Reproduce code: --------------- <?php //outputs strange image $img = imagecreatetruecolor(100, 100); //works fine using palette image instead //$img = imagecreate(100, 100); imagesavealpha($img, true); imagealphablending($img, true); $transparent = imagecolorallocatealpha($img, 255, 255, 255, 80); //make the background transparent imagefill($img, 0, 0, $transparent); $color = imagecolorallocatealpha($img, 0, 255, 0, 100); imagefilledarc($img, 49, 49, 100, 100, 0 , 359, $color, IMG_ARC_PIE); header('content-type: image/png'); imagepng($img); ?> Expected result: ---------------- Same result as using the paletteimage version. Actual result: -------------- Strange looking arcs and filled arcs. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43828&edit=1