This is a late answer, but I hope it will help on others as well.
Use ti Carpet GDL object for this function.
For this object You can use your own picture as a texture and the GDL object strech it into the size of the picture...
Similar function for vertical pictures, use the Picture object.