Tuesday, October 11, 2022

[FIXED] What are the differences between a GD and a GD2 image?

Issue

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?


Solution

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



Answered By - Jacco
Answer Checked By - Dawn Plyler (PHPFixing Volunteer)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.