Image s_image = ......// read the image BufferedImage s_b = new BufferedImage(width,height,mode); // pay attension the param Graphics g = s_b.getGraphic(); g.drawImage(0,0,s_image); g.drawString(x,y,"afds");