final int processorOptions = CSSURLEmbedder.DATAURI_OPTION
| CSSURLEmbedder.SKIP_MISSING_OPTION;
final int maxUriLength = getMaxUriLength(options);
final int maxImageSize = getMaxImageSize(options);
new Embedder(resource, new StringReader(resource.getContents()),
processorOptions, true, maxUriLength, maxImageSize)
.embedImages(writer, root);
}
});
} catch (final UnknownHostException e) {