Re: Regarding retrieving COSName.getPDFName(PreflightConstants.DICTIONARY_KEY_LINEARIZED

2017-07-25 Thread Tilman Hausherr
But I remember that you were complaining about the performance and I explained a way to do this but which would require some work. Alternatively, try the code below which gets the dictionary without using the preflight library by extending the parser and using old-style document loading. What

Re: Regarding retrieving COSName.getPDFName(PreflightConstants.DICTIONARY_KEY_LINEARIZED

2017-07-25 Thread Andreas Lehmkühler
> karthick g hat am 25. Juli 2017 um 10:34 > geschrieben: > > > Hi team, > > Based on the analysis I have found one thing regarding Linearized PDF in > 2.0 and above versions of PDFBox. > > COSDocument cDoc = pdDoc.getDocument(); > List lObj = cDoc.getObjects(); >

Re: PDFBox JPEG2000 and Tomcat

2017-07-25 Thread Andreas Lehmkühler
> Chris Gamache hat am 25. Juli 2017 um 03:10 geschrieben: > > > I also recall one thread on SO where the developer had kept the scope on the > imageio jars set to `test` as it is in PDFbox's pom. I wish it were a > contributing factor here because it is an easy fix. > >

Re: Regarding retrieving COSName.getPDFName(PreflightConstants.DICTIONARY_KEY_LINEARIZED

2017-07-25 Thread karthick g
Hi team, Based on the analysis I have found one thing regarding Linearized PDF in 2.0 and above versions of PDFBox. COSDocument cDoc = pdDoc.getDocument(); List lObj = cDoc.getObjects(); for (COSObject object : lObj) { System.out.println(object.getObjectNumber());