Re: [GD-DEVEL] help and code suggestion
| From: | Pierre | Date: | Tue, 17 Apr 2007 14:37:43 +0000 |
| Subject: | Re: [GD-DEVEL] help and code suggestion | ||
| References: | 1 2 3 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-177@lists.php.net to get a copy of this message | ||
On 3/19/07, Pierre <pierre.php@gmail.com> wrote:
On 3/18/07, Frank Warmerdam <warmerdam@pobox.com> wrote: Robert Stephen Woodman wrote:Please find some explanations here: http://news.php.net/php.gd.devel/176 The link to the archive with the required libs is also there. Hope that helps, --PierreMy 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.