* Updated xmlgraphics-commons to trunk version.
* Fixed ImageRendered constructor call in PDFGraphics2D and AFPGraphics2D to be compatible with the new parameter that has been added in xmlgraphics-commons.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@797899
13f79535-47bb-0310-9956-
ffa450edef68
ImageSize size = new ImageSize(img.getWidth(), img.getHeight(), 72);
imageInfo.setSize(size);
- ImageRendered imageRendered = new ImageRendered(imageInfo, img, null);
+ ImageRendered imageRendered = new ImageRendered(imageInfo, img, null, null);
RenderedImage renderedImage = imageRendered.getRenderedImage();
// create image object info
ImageInfo info = new ImageInfo(null, "image/unknown");
ImageSize size = new ImageSize(img.getWidth(), img.getHeight(), 72);
info.setSize(size);
- ImageRendered imgRend = new ImageRendered(info, img, null);
+ ImageRendered imgRend = new ImageRendered(info, img, null, null);
ImageRenderedAdapter adapter = new ImageRenderedAdapter(imgRend, key);
PDFXObject xObject = pdfDoc.addImage(resourceContext, adapter);
flushPDFDocument();