| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 09/03/2010 18:03:54
|
bmyers
Joined: 05/03/2010 00:00:00
Messages: 4
Offline
|
Is there any plan and/or timeframe for ICEpdf to support the PDF 1.7 format, especially now that PDF is an "open standard"?
Ideally, PDF 1.7, Adobe Extension Level 5 would be great!
Thanks!
|
--Brad |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 10/03/2010 06:22:39
|
patrick.corless
Joined: 26/10/2004 00:00:00
Messages: 1097
Online
|
ICEpdf does support a large portion of the PDF 1.7 format but as you have identified not all of it. Generally speaking we have relied on supported customers and more recently the ICEpdf community to provide input into the direction of the product.
As new features are added to the PDF specification it can take quite some time before the features are widely implemented by third party PDF encoders. And ultimately even longer before we start seeing PDF's in the wild that are encoded with these new features.
Is there any particular feature you wanted to see implemented from the ISO 3200-1 supplement extension level 5? At the very least I can create an enhancement bug based on your feedback this way it can be scheduled into a future release.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 12/03/2010 17:52:50
|
bmyers
Joined: 05/03/2010 00:00:00
Messages: 4
Offline
|
Thanks for the info!
I am trying to generate a set of thumbnails of PDF-1.7 documents, using icepdf-4.0.0, with the following code:
document.getPageImage(0, GraphicsRenderingHints.PRINT, Page.BOUNDARY_CROPBOX, 0.0f, 1.0f);
but failing with an exception:
java.lang.NullPointerException
at org.icepdf.core.pobjects.Page.getSize(Page.java:941)
at org.icepdf.core.pobjects.Document.getPageImage(Document.java:1029)
I've attached the offending PDF.
| Filename |
ACORD 0131 2009-10.pdf |
Download
|
| Description |
PDF file |
| Filesize |
40 Kbytes
|
| Downloaded: |
63 time(s) |
|
--Brad |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 15/03/2010 08:50:21
|
patrick.corless
Joined: 26/10/2004 00:00:00
Messages: 1097
Online
|
The problem with this document is related to AcroForm support. We don't currently support this potion of the spec. Normally the pages graphic representation would be handle by postscript and only the editable form elements would be rendered using AcroForm notation. Unfortunately this PDF is 100% Acroforms which is causing some problems with our parser.
The Acroform section of the spec is quite large. Are you interested in just static rendering or do you require full interactively and submission?
Thanks for sending the file.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 15/03/2010 11:05:22
|
bmyers
Joined: 05/03/2010 00:00:00
Messages: 4
Offline
|
I am just trying to statically render the pages. Actually I just need to render the first page, to create a thumbnail for browsing a library of PDFs.
Is there a way I can force the AcroForm section to be skipped?
Alternatively, can I use another tool like the iText API to write out a version of the PDF without the AcroForm section (e.g. as a PDF 1.6 document) and then render that version?
Thanks!
--Brad
|
--Brad |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 15/03/2010 12:17:49
|
patrick.corless
Joined: 26/10/2004 00:00:00
Messages: 1097
Online
|
Unfortunately the Acroform section is already skipped. The main problem is that there isn't any other page level information to generate a page view with. I'm not sure if the PDF in question is correctly formed, it might be offside as the spec goes.
I'm not that familiar with the latest offerings from IText API but you could give a try but it might be a bit of a long shot.
|
|
|
 |
|
|