My question might be a little bit reckless, but I would like to know if anybody had an experience with adding a text to a taken screenshot using Selenium WebDriver or any other Java library? Currently I'm utilizing: 

```
File screenShotFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
            FileUtils.copyFile(screenShotFile,  new File("C:\\XXX\\XXX\\SeleniumScreenshots\\" + "png"));

```

in order to take a screenshot and it's working fine, but sometimes I need to add a descritive text to the screenshot smth like: "This is failed because of this..." What I need exactly is certain location of the page (e.g. global footer, header, burger menu, certain image) that may be found with xpath expression, take the screenshot of that location and add a text with the problem description. If anybody has an idea how this may be implemented please respond with a sample code.