Hi Eric. Welcome to TSDN!
The
GD functions will work on most JPEG, PNG and GIF images. They also have support for some BMP formats, tho I have never been able to find much use for them.
There is no way to give exactly the functions you will need, as I do not know what you are trying to do, but all the GD functions are listed in the above link.
If that does not work for you, you could try a Google search for ImageMagick. I have never used it but it is supposedly superior to GD in many ways.