/**
* Sets up the image infrastructure (the image loading framework).
* @param baseURI the base URI of the current document
*/
protected void setupImageInfrastructure(final String baseURI) {
final ImageContext imageContext = new ImageContext() {
public float getSourceResolution() {
return 25.4f / userAgent.getPixelUnitToMillimeter();
}
};
this.imageManager = new ImageManager(imageContext);