Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

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

People
Owner: TONYC [...] cpan.org
Requestors: mah [...] everybody.org
Cc:
AdminCc:

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



Subject: Patch for systems w/o rgb.txt
Systems that run headless often don't have rgb.txt or Gimp's Palette file on them. This patch adds the GPLed contents of Gimp's Named_Colors as a __DATA__ section.

Message body is not shown because it is too large.

From: Tony Cook <tony [...] develop-help.com>
Date: Mon, 19 May 2003 10:41:35 +1000
To: via RT <bug-Imager [...] rt.cpan.org>
Subject: Re: [cpan #2593] Patch for systems w/o rgb.txt
RT-Send-Cc:
On Fri, May 16, 2003 at 03:13:38PM -0400, via RT wrote: Show quoted text
> > This message about Imager was sent to you by MAHEX <MAHEX@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=2593 > > > Systems that run headless often don't have rgb.txt or Gimp's Palette file on them. This patch adds the GPLed contents of Gimp's Named_Colors as a __DATA__ section.
While this would be nice, Imager is distributed under both the GPL and the Artistic license. Including material distributed only under the GPL would restrict Imager's licensing to just the GPL. Tony
Would it work to use a color file released under a BSD license?
From: Tony Cook <tony [...] develop-help.com>
Date: Mon, 5 Jan 2004 11:52:09 +1100
To: via RT <bug-Imager [...] rt.cpan.org>
Subject: Re: [cpan #2593] Patch for systems w/o rgb.txt
RT-Send-Cc:
On Sun, Jan 04, 2004 at 05:46:36AM -0500, via RT wrote: Show quoted text
> > This message about Imager was sent to you by ADDI <ADDI@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=2593 > > > Would it work to use a color file released under a BSD license?
That should work. Tony
I've added a new module which includes an X licensed rgb.txt as the source for color information. This module is then used to determine the color if the name is not found as a gimp or xname color. It's also possible to use the built-in table directly with the 'builtin' keyword. The X license is compatible with both the GPL and the Artistic licenses, and so doesn't cause license problems with Imager. This is currently in CVS. Thanks for supplying this patch, it provided the impetus for the inclusion of the facility in Imager (eventually anyway :)