*/
private void generateImage(String text, File outputFile) {
ConversionOptions options = new ConversionOptions();
TextGrid textGrid = new TextGrid();
try {
if(!textGrid.initialiseWithText(text, null)) {
error("Cannot initialize text grid");
}
} catch (UnsupportedEncodingException e1) {
error("Cannot initialize text grid");
}