Re: [GD-DEVEL] help and code suggestion
[email protected] (Pierre)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
On 3/19/07, Pierre <[email protected]> wrote: > On 3/18/07, Frank Warmerdam <[email protected]> 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. 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, --Pierre