Commits

Anonymous committed 8a4865a

- sync to 2.0.24

Comments (0)

Files changed (1)

 <!-- REMEMBER TO EDIT index.html.source -->
 <head>
-<TITLE>gd 2.0.23</TITLE>
+<TITLE>gd 2.0.24</TITLE>
 </head>
 <body bgcolor="#FFFFFF">
 <!-- BANNER HERE -->
-<H2>gd 2.0.23</H2>
+<H2>gd 2.0.24</H2>
 <H3>A graphics library for fast image creation</H3>
 <H3>Follow this link to the
 <A HREF="http://www.boutell.com/gd/">latest version
 new installation overwrites the old.
 <p>
 <strong>ABOUT GD AND GIF:</strong>
-gd 2.0.23 creates PNG, JPEG and WBMP images, not GIF images. This is a 
+gd 2.0.24 creates PNG, JPEG and WBMP images, not GIF images. This is a 
 good thing.  PNG is a more compact format, and full compression is
 available.  JPEG works best with photographic images, and is still
 more compatible with the major Web browsers than even PNG is. WBMP is
 modern image formats such as PNG and JPEG as soon as possible.
 
 <p>
-When building from soruce, gd 2.0.23 <strong>requires</strong> that the 
+When building from soruce, gd 2.0.24 <strong>requires</strong> that the 
 following libraries also be installed, in order to produce the related 
 image formats. The win32 binary release (bgd) already contains the
 appropriate libraries.
 <H3>Table of Contents</H3>
 <UL>
 <LI><A HREF="#notice">Credits and license terms</A>
-<LI><A HREF="#whatsnew2.0.23">What's new in version "XYZ" of GD?</A>
+<LI><A HREF="#whatsnew2.0.24">What's new in version "XYZ" of GD?</A>
 <LI><A HREF="#whatis">What is gd?</A>
 <LI><A HREF="#gdother">What if I want to use another programming language?</A>
 <LI><A HREF="#required">What else do I need to use gd?</A>
 <A NAME="gdother"><H3>What if I want to use another programming
 language?</h3></A>
 Not all of these tools are necessarily up to date and fully compatible
-with 2.0.23.
+with 2.0.24.
 <h4>PHP</h4>
 A variant of gd 2.x is included in PHP 4.3.0. It is also possible
-to patch PHP 4.2.3 for use with gd 2.0.23; see the
+to patch PHP 4.2.3 for use with gd 2.0.24; see the
 <a href="http://www.boutell.com/gd/">gd home page</a> for a link to
 that information. It would be a Good Idea to merge all of the things
 that are better in mainstream gd and all of the things that are
 <li><a href="http://martin.gleeson.com/fly/">fly</a>, by Martin Gleeson
 </ul>
 <P>
+<A NAME="whatsnew2.0.24"><H3>What's new in version 2.0.24?</H3></A>
+<P>
+<b>Windows DLL now uses __stdcall calling convention.</b> Existing
+applications will require a recompile, using the new version of gd.h,
+in order to use this version of the DLL. However, Visual BASIC and other
+non-C programmers will now be able to use the DLL, which is an enormous
+benefit and justifies the one-time inconvenience to existing DLL users. 
+<p>
+The elaborate #ifdef test for older versions of Freetype without
+FT_ENCODING_MS_SYMBOL was needed in a second place also. Thanks to
+David R. Morrison.
+<p>
+An off-by-one error in gdImageToPalette caused transparency to be applied
+to the wrong pixels. Thanks to "Super Pikeman."
+<P>
 <A NAME="whatsnew2.0.23"><H3>What's new in version 2.0.23?</H3></A>
 <P>
 Output dpi specification option added to the
 </ul>
 <h4>Source Code:</h4>
 <ul>
-<li><a href="http://www.boutell.com/gd/http/gd-2.0.23.tar.gz">Gzipped Tar File (Unix)</a>
-<li><a href="http://www.boutell.com/gd/http/gd-2.0.23.zip">.ZIP File of SOURCE CODE (Windows)</a>
+<li><a href="http://www.boutell.com/gd/http/gd-2.0.24.tar.gz">Gzipped Tar File (Unix)</a>
+<li><a href="http://www.boutell.com/gd/http/gd-2.0.24.zip">.ZIP File of SOURCE CODE (Windows)</a>
 </ul>
 <P>
 <A NAME="buildgd"><H3>How do I build gd?</H3></A>
 consult with an experienced user of your system. Sorry, we cannot
 answer questions about basic Internet skills.
 <p>
-Unpacking the archive will produce a directory called "gd-2.0.23".
+Unpacking the archive will produce a directory called "gd-2.0.24".
 <p>
 <h4>For Unix</h4>
-<code>cd</code> to the 2.0.23 directory and type:
+<code>cd</code> to the 2.0.24 directory and type:
 <p>
 <code>./configure</code>
 <P>
 <A HREF="#gdImageDestroy">gdImageDestroy</A>(im);
 </PRE>
 <DT><A NAME="gdImageJpegPtr">
-void* gdImageJpegPtr(gdImagePtr im, int *size)</A>
+void* gdImageJpegPtr(gdImagePtr im, int *size, int quality)</A>
 <STRONG>(FUNCTION)</STRONG>
 <DD>Identical to gdImageJpeg except that it returns a pointer to a memory
 area with the JPEG data. This memory must be freed by the caller when it is