Drawing onto loaded image

Hi!
I have got question. How to draw text onto loaded image from resources (eg. folder called images/). Image must be displayed in Vaadin window. How to print image and text?