PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, October 11, 2022

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

 October 11, 2022     gd, gd2, php     No comments   

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)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

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

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing