AcroRenderer formRenderer, float scaling, PdfObjectReader currentPdfFile, int pageIndex,
boolean imageIsTransparent,
String currentPageOffset) throws PdfException {
/** read page or next pages */
PdfObject pdfObject=new PageObject(currentPageOffset);
currentPdfFile.readObject(pdfObject);
BufferedImage image;
Graphics2D g2;
PdfObject Resources=pdfObject.getDictionary(PdfDictionary.Resources);
ObjectStore localStore = new ObjectStore();
DynamicVectorRenderer imageDisplay = new ImageDisplay(pageIndex,false, 5000, localStore);
PdfStreamDecoder currentImageDecoder = new PdfStreamDecoder(currentPdfFile);