Is GD2 run the same a JQuery
Hi
I want to know the if GD2 run the same as JQuery?
For example for JQuery you need this:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
for the code to run.
But for GD2 you need a package but I haven't download it yet.
I just want to know the Pro and Cons between GD2 & JQuery
Thanks
LastMitch
Industrious Poster
4,374 posts since Mar 2012
Reputation Points: 149
Solved Threads: 350
Skill Endorsements: 47
So it may be me, but what is GD2?
JorgeM
Industrious Poster
4,164 posts since Dec 2011
Reputation Points: 297
Solved Threads: 566
Skill Endorsements: 119
I think he is referring to the PHP graphic library, if so there is no direct relation between JQuery and GD. If you're using a debian based distro then use: sudo apt-get install php5-gd to install the library, but it should be already included in your PHP installation:
Since PHP 4.3 there is a bundled version of the GD lib. This bundled version has some additional features like alpha blending, and should be used in preference to the external library since its codebase is better maintained and more stable.
source: http://www.php.net/manual/en/image.requirements.php
cereal
Veteran Poster
1,195 posts since Aug 2007
Reputation Points: 358
Solved Threads: 231
Skill Endorsements: 22
@cereal
Thanks for the reply and explanation!
LastMitch
Industrious Poster
4,374 posts since Mar 2012
Reputation Points: 149
Solved Threads: 350
Skill Endorsements: 47
Question Answered as of 8 Months Ago by
cereal
and
JorgeM