Skip Menu |

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 70843
Status: new
Priority: 0/
Queue: GD

Owner: Nobody in particular
Requestors: Ulrich.Weiss [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: GD 2.46: filledRectangle does not fill
Date: Fri, 9 Sep 2011 14:10:48 +0200
To: bug-GD [...]
From: Ulrich Weiss <Ulrich.Weiss [...]>
Download (untitled) / with headers
text/plain 921b
Hello! I have discovered an interessting behaviour on GD 2.46: filledRectangle(...) is only working correctly at first call. After first call, filledRectangle does nothing. However, this behaviour can not be reproduced on GD 2.44. In the meantime, i have discovered a workaround: instead of filledRectangle, filledPolygon works correctly also with GD 2.46. Environment: RHEL 5.3 Installed GD-2.46 (from CPAN) Another environment, I have GD 2.44, where filledRectangle does correct work: Fedora 14 yum install perl-GD (perl-GD-2.44-4.fc14.i686) Some information about the application: my $im = new GD::Image(1188,300); my $black = $im->colorAllocate(0,0,0); my $white = $im->colorAllocate(255,255,255); $im->filledRectangle(0,0,1188,300,$white); # Clear Picture (works always) $im->filledRectangle(20,20,100,100,$black); # Does not work on GD 2.46 (works on GD 2.44) print $im->png(); best greetings! Ulrich Weiss

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to