Anyone know how to get the gd version from php code?
You can get it by running phpinfo(). I assume that's what you're asking.