Setting a .c image as a button.

I used the GIMP to convert a .jpg into a .c file. I ran a rotating cube tutorial and replaced the defualt image with my own image. I then modified a tutorial button file to make buttons which work which are rectangles with rounded edges. I would like to put the .c image into the space occupied by the button, any thoughts on how to do this?