.getProperty(PDFRendererContextConstants.PDF_CONTEXT);
// Try to get a already added image with the same key
PDFXObject xObj = pdfi.pdfDoc.getXObject(uri);
PDFReference xFormResRef = null;
if (xObj != null) {
// e.g. Form XObject's resources aren't used for svg images
// (svg images are drawn directly to the stream)
PDFResources xFormRes = pdfi.factory.makeResources();
xFormRes.addXObject(xObj);