Re: [GD-DEVEL] help and code suggestion

From: Date: Sun, 18 Mar 2007 22:12:36 +0000
Subject: Re: [GD-DEVEL] help and code suggestion
References: 1 2  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-149@lists.php.net to get a copy of this message
On 3/18/07, Frank Warmerdam <warmerdam@pobox.com> wrote:
Robert Stephen Woodman wrote: My problem, is that when I tried to compile this, it all compiled well, but I got a linker warning, regarding the jpeg load function. After a while, I realized that "gd_jpeg.c" was not even compiling, because I didn't define "HAVE_LIBJPEG". When I defined this, then the problem was fixed, but another problem appeared, namely, that I don't have the source for the following 19 functions: ... jpeg_set_quality() Robert, In my copy of libjpeg from the ijg site I have these functions. For instance jpeg_set_quality() is implemented in jcparam.c. Did you get a jcparam.c file? If not, perhaps you need to be more specific about what you downloaded.
You need the libjpeg.lib to link GD against libjpeg (same for png, freetype or zlib). I will put them online tomorrow, easier. While being at it, I can update the documentation and add a little howto. --Pierre

« previous php.gd.devel (#149) next »