I have a large directory of images on my server. I want to slightly warp these images somehow in my servlet. The servlet currently generates some simple HTML and displays 8 images in it. It needs to warp and then display the warped version of these images. I believe the code for warping I have returns a BufferedImage. So I need to display that in the HTML without storing it. Any suggestions?