What are the differences between a GD and a GD2 image?

DEVOPS picture DEVOPS · Jun 14, 2010 · Viewed 8.8k times · Source

Reading the documentation for imagegd2(), and imagegd(), I noticed the functions are described, respectively as:

  • Output GD2 image to browser or file
  • Output GD image to browser or file

What are a GD2, and a GD image? What are the difference between those image types?

Answer

Jacco picture Jacco · Jun 14, 2010

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