Check http://php.net/manual/en/book.image.php for more info on GD library with PHP. I doubt you will be able to achieve exact effect though.
Use nested floating divs inside the footer to place the links in the specific place.
Ex:
#mylinks { float: right; width: 400px; }
Use margin properties to tune the exact location of the div.
Could you post part of the source that is generating that menu on the top?