Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 12676
Status: resolved
Priority: 0/
Queue: Imager

People
Owner: TONYC [...] cpan.org
Requestors: tony [...] develop-help.com
Cc:
AdminCc:

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



From: Tony Cook <tony [...] develop-help.com>
Date: Thu, 5 May 2005 00:34:26 +1000
To: bug-Imager [...] rt.cpan.org
Subject: [duaneg@gazelle-design.com: bug in Imager perl module]
----- Forwarded message from duaneg@gazelle-design.com ----- Date: Wed, 04 May 2005 08:16:35 -0400 From: duaneg@gazelle-design.com To: tony@develop-help.com Subject: bug in Imager perl module X-Spam-Level: * There seems to be a bug in the setcolors() which does not allow you to set the last color in the list. In palimg.c need to use "<=" instead of "<" when do checking static int i_setcolors_p(i_img *im, int index, i_color *colors, int count) { /* if (index >= 0 && count >= 1 && index + count < PALEXT(im)->count) { */ if (index >= 0 && count >= 1 && index + count <= PALEXT(im)->count) { ..... } Imager is a great perl module! Keep up the good work! Duane Show quoted text
----- End forwarded message -----