Re: [GD-DEVEL] using an derived gd function in another program
| From: | Pierre Joye | Date: | Mon, 11 Feb 2008 11:26:11 +0000 |
| Subject: | Re: [GD-DEVEL] using an derived gd function in another program | ||
| References: | 1 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-358@lists.php.net to get a copy of this message | ||
Hi Rian,
On Feb 11, 2008 5:36 AM, Rian Hunter <rian@mit.edu> wrote:
> I am not on this list, so could all replies be CC'd to me?
>
> I am writing a program that will be licensed under GPL v3.0. I use a
> slightly derived version of gdImageCopyResampled() in it. I am not
> exactly sure how I should give credit to libgd in my README or in the
> source file. Could anyone give me tips on how I should do this? Thanks!
You have to have two licenses then, one is GPL 3.0 and the other is
the libgd license, both should be advertised.
An alternative would be to link against libgd instead of copying only
one function. Linking can bring you more pros, I'm working on improved
resizing functions. Some are faster and other give far nicer results.
Linking makes your work easier as you only have to udpate your
binaries and/or ask to update the library on a given system. It avoids
the dual licensing and let you benefit from our improvements.
I sadly can't agree to relicense this part to GPL (no matter the
version) as it may bring restriction to this code that we do not have
now.
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org