Why two breaks? And why not use image.draw(out); to create the <img> tag?