# Status of GD

- Thread: https://externals.io/message/752
- Original archive: https://news-web.php.net/php.internals/752
- Started by John Coggeshall on 2003-04-07T03:27:33+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #752 — John Coggeshall — 2003-04-07T03:27:33+00:00

URL: https://externals.io/message/752#752

I see that some (not all) of the functions found in GD 2.0.12 have been
introduced into the bundled libgd, but even though functions like
imagesetclip()/getclip() are there PHP wrappers haven't been created...

Can anyone hint what will happen regarding these things? (esp. the three
functions I provided a patch for)? I don't want to rely on their
existance in my scripts until I know PHP5 will have them... I'll add
them myself if no one objects.

John

-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-
John Coggeshall
john at coggeshall dot org                  http://www.coggeshall.org/
-~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~

---

## #755 — Ilia A. — 2003-04-07T12:35:03+00:00

URL: https://externals.io/message/752#755 · In reply to: #752

> I see that some (not all) of the functions found in GD 2.0.12 have been
> introduced into the bundled libgd, but even though functions like
> imagesetclip()/getclip() are there PHP wrappers haven't been created...

I did not create any wrappers for the new GD functions, yet my goal was to 
sync our GD with the 'official' one. The one function I did not sync is image 
rotate since our bundled gd has an internal implementation which in my tests 
had proven to be better.

> Can anyone hint what will happen regarding these things? (esp. the three
> functions I provided a patch for)? I don't want to rely on their
> existance in my scripts until I know PHP5 will have them... I'll add
> them myself if no one objects.

The clipping function wrapper you are more then welcome to add to PHP5.


Ilia
