}
private BufferedImage crateImage(String str) {
Builder captcha = new Captcha.Builder(width, height);
if (this.wordRenderer == null) {
captcha.addText(new CapTextProducer(str));
} else {
captcha.addText(new CapTextProducer(str), this.wordRenderer);
}
if (producers != null && !producers.isEmpty()) {
for (Object producer : producers) {
if (producer instanceof BackgroundProducer) {