[pkg-GD-devel] Bug#443567: libgd-gd2-perl: Description of $image->colorResolve

Jean-Damien Durand JeanDamienDurand at free.fr
Sat Sep 22 14:25:06 UTC 2007

Package: libgd-gd2-perl
Version: 1:2.35-1
Severity: minor

The description of function colorResolve() could say that if allocation fails, then it will return the index of the _closest_
color, c.f. http://www.libgd.org/OldColour, section 1.7! Thus one have to be very careful with this function, it will always
return an index but not necessarly one for a color that matches the (r,g,b) in input!

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-kamikaze5 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgd-gd2-perl depends on:
ii  libc6                   2.6.1-5          GNU C Library: Shared libraries
ii  libfontconfig1          2.4.2-1.2        generic font configuration library
ii  libfreetype6            2.3.5-1+b1       FreeType 2 font engine, shared lib
ii  libgd2-xpm              2.0.35.dfsg-3    GD Graphics Library version 2
ii  libjpeg62               6b-14            The Independent JPEG Group's JPEG 
ii  libpng12-0              1.2.15~beta5-2   PNG library - runtime
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxpm4                 1:3.5.7-1        X11 pixmap library
ii  perl                    5.8.8-11         Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8. 5.8.8-11         The Pathologically Eclectic Rubbis
ii  zlib1g                  1: compression library - runtime

libgd-gd2-perl recommends no packages.

-- no debconf information

More information about the pkg-GD-devel mailing list