php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2572 Changes in gd version 1.7.3 breaks gd.c
Submitted: 1999-10-19 15:51 UTC Modified: 1999-10-24 12:25 UTC
From: tawood at woodcgi dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 2 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tawood at woodcgi dot com
New email:
PHP Version: OS:

 

 [1999-10-19 15:51 UTC] tawood at woodcgi dot com
The gd package has changed from GIF to PNG support as of version 1.7.3

This breaks the php-4.0b2/ext/gd/gd.c

From the gd 1.7.3 source:
/*---------------------------------------------------------------------------

    gd_png.c                 Copyright 1999 Greg Roelofs and Thomas Boutell

    The routines in this file, gdImagePng*() and gdImageCreateFromPng*(),
    are drop-in replacements for gdImageGif*() and gdImageCreateFromGif*(),
    except that these functions are noisier in the case of errors (comment
    out all fprintf() statements to disable that).

    Only GIF-like PNG features are currently supported; that is, images must
    either be indexed-color to begin with or they will be converted to it,
    and they can have, at most, a single, fully transparent palette entry or
    color.  (Alpha channels are ignored.)  Since gd images are artificially
    generated, gamma is also ignored, and there is currently no support for
    embedded text annotations (a la GIF comments) in gd.

    Last updated:  19 July 1999

  ---------------------------------------------------------------------------*/

Finally, also in php's gd.c the function gdImageColorResolve is no provided in gd-1.7.3 library... get's a defined twice error during Apache link.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-24 12:25 UTC] sas at cvs dot php dot net
This is fixed in CVS.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri Oct 09 20:00:01 2026 UTC