question: private String generateMapHtml ( Map map , User user ) throws IOException { ByteArrayOutputStream baos = new ByteArrayOutputStream ( ) ; BufferedImage image = mapGenerationService . generateMapImageForUser ( map , new Date ( ) , null , 578 , 440 , user ) ; ImageIO . write ( image , "PNG" , baos ) ; return uploadImage ( map . getUid ( ) , baos . toByteArray ( ) ) ; }
target:  Returns an absolute URL to an image representing the map input