Skip Menu |

This queue is for tickets about the GDTextUtil CPAN distribution.

Report information
The Basics
Id: 64931
Status: new
Priority: 0/
Queue: GDTextUtil

People
Owner: Nobody in particular
Requestors: skurtn+bitcard [...] gmail.com
Cc:
AdminCc:

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



Subject: Using GD::Image->colorTotals() fails with True Color images
The issue: _init() uses the GD API call colorsTotal() and stores the total number of colors that have been allocated in the image into the internal 'colour' field. According to the GD documentation, this will return an undefined value if you are working with a TrueColor image. Output: Use of uninitialized value in subtraction (-) at /usr/lib/perl5/vendor_perl/5.8.5/GD/Text/Align.pm line 89. Result: I'm unsure as to how this would affect the output. Show quoted text
> perl -v
This is perl, v5.8.5 built for i386-linux-thread-multi Show quoted text
> uname -a
Linux fe80020423fffeb7d6a4 2.6.20.3_GDG08 #12 SMP Mon Sep 15 16:00:31 CDT 2008 i686 i686 i386 GNU/Linux