Re: Performance issue with PDFBox 2.0.8

2018-04-17 Thread Tilman Hausherr
y: 3779 milliseconds //second try with the property set: 3852 milliseconds          //third try with subsamplingAllowed: 3362 milliseconds } *** From: Tilman Hausherr <thaush...@t-online.de> Sent: Monday,

Re: Performance issue with PDFBox 2.0.8

2018-04-16 Thread Tilman Hausherr
he property set: 3852 milliseconds //third try with subsamplingAllowed: 3362 milliseconds } *** From: Tilman Hausherr <thaush...@t-online.de> Sent: Monday, April 16, 2018 10:55 AM To: users@pdfbox.apache.org Su

Re: Performance issue with PDFBox 2.0.8

2018-04-16 Thread Arthur Wang
" milliseconds"); }//else //first try without setting property: 3779 milliseconds //second try with the property set: 3852 milliseconds //third try with subsamplingAllowed: 3362 milliseconds } *** From: Tilman Hausherr <thaush...@t-online.de> Sent:

Re: Performance issue with PDFBox 2.0.8

2018-04-16 Thread Tilman Hausherr
.@t-online.de> *Sent:* Monday, April 16, 2018 8:57 AM *To:* users@pdfbox.apache.org *Subject:* Re: Performance issue with PDFBox 2.0.8 Please - retry with the current version 2.0.9 - share your file for a profiler analysis - as said by Itai (who implemented it) try enabling subsampling in PDF

Re: Performance issue with PDFBox 2.0.8

2018-04-16 Thread Arthur Wang
_ From: Tilman Hausherr <thaush...@t-online.de> Sent: Monday, April 16, 2018 8:57 AM To: users@pdfbox.apache.org Subject: Re: Performance issue with PDFBox 2.0.8 Please - retry with the current version 2.0.9 - share your file for a profiler analysis - as said by Itai (who i

Re: Performance issue with PDFBox 2.0.8

2018-04-16 Thread Tilman Hausherr
Please - retry with the current version 2.0.9 - share your file for a profiler analysis - as said by Itai (who implemented it) try enabling subsampling in PDFRenderer (read the javadoc first). Compare the results and decide whether the quality is OK for you. - set the energy settings of your

Re: Performance issue with PDFBox 2.0.8

2018-04-16 Thread Itai
If the files in question include very large JPEG or JBIG images, and if you are rendering at a relatively low DPI, allowing subsampling may help ( https://issues.apache.org/jira/browse/PDFBOX-4137), but you will have to upgrade to 2.0.9. In my use-case it increased speed by an order of magnitude,