Image.createImage(filename)

I do that simply, but how can I resize it based to screen width and height..