tags:

views:

45

answers:

2

what is gd image and gd2 images? what are the difference between them?

+1  A: 

gd is an old c library, gd2 is the updated one. php uses gd2.

Jacco
A: 

Some version of GD generates only PNG, but recent version can ganerate GIF and PNG. Soon GD will be no longer supported in next version of PHP.

Brice Favre
"Soon GD will be no longer supported in next version of PHP." please add a reference/link to support this claim?
Jacco
Here it is : http://wiki.php.net/rfc/removal-of-deprecated-featuresSupport for Freetype 1 and GD 1 - See R197385, R197386, R203752 and family commits
Brice Favre
GD 1 will no longer be supported. That makes sense. GD2 support will stay.
Jacco