This should be as simple as sending the file path, x position, y position, width and height to the library.