Re: [GD-DEVEL] Feature Request

[email protected] (Pierre Joye) Sun, 29 Nov 2009 12:29:18 +0100
Newsgroups php.gd.devel
Message-ID <[email protected]>
hi,

On Sat, Nov 28, 2009 at 4:38 PM, Pedro Heliodoro <[email protected]> wrote:
> Hello all
>
> I know that there must be many things to work on GD but I would like to
> propose that GD could handle some form of metadata on GIF and PNG files.
> This request could be more oriented to exif library than on GD but since GD
> has iptc functions I thought maybe GD could have some form of doing the same
> for GIF and PNG, for example.
>
> I don't know any legal issues regarding GIF and PNG, but I think this could
> be great for PHP developers, since some web gallery systems provide a
> database to keep image metadata on databases for formats that do not support
> them. I myself use a companion text file to store image descriptions.
>
> There is a Exif Tool <http://www.sno.phy.queensu.ca/%7Ephil/exiftool/> ( by
> Phil Harvey ) that claims it can read/write metadata for GIF and PNG (
> mainly my interest ) but the downside ( for me ) is made in perl.
> I understand I could use ImageMagick but GD could handle only the Comment
> extension block for GIF and PNG, just to do CRUD operations in that specific
> tag.

And it is GPL afair. There is something similar written in PHP as far
as I remember.

However I agree that it would rock to have that directly in GD, but
that's not something we can do quickly (the exif write support even
less). If someone feels motivated enough to do it, we will indeed
accept the patches :)

Cheers,
--
Pierre

http://blog.thepimp.net | http://www.libgd.org