Hi, Hmm, I can read the PDF with current SVN without any problems. The XObject with name /Image2 uses FlateDecode and DCTDecode as filters (GZIP and JPEG), both are supported by recent PoDoFo. I think that PoDoFo 0.5 was missing the DCTDecode filter. Anyways, what excact problem do you have when opening the PDF using PoDoFo (using the library not PoDoFoBrowser).
best regards,
Dom
Am Freitag, 4. April 2008 schrieb Ian:
> Hi, I am having trouble processing a PDF document containing acroforms
> and a barcode image. I would be interested to have any hints about what
> is stopping PoDoFo from reading the following sample document:
>
> http://www.xmlmill.com/pdf/examples/Example_employee-record-form.pdf
>
> Message: Error: 27 ePdfError_UnsupportedFilter (PdfFilter.cpp:138)
> << /Type /XObject /Name /Image2 ... >>
>
> I am using podofobrowser-0.5-r1-win32-bin, rather than current SVN.
>
> I'm not certain, but this may be related to the barcode image.
>
> Here is the XSL:
>
> [001] <ml:acroform>
> [002] <ml:acrofield name="EmployeeID"><xsl:value-of
> select="employee/id"/></ml:acrofield/>
> [004] <ml:acrofield name="LastName"><xsl:value-of
> select="employee/name"//></ml:acrofield/>
> [006] ...
> [007] </ml:acroform>
>
> The barcode printed on the left is not an Acrofield but directly stamped
> on it using the ml:barcode element:
>
> [001] <ml:barcode type="code39e" topleft="center,center"
> [002] add-check-digit="on"
> [003] add-check-digit-to-text="on"
> [004] reference-orientation="90"
> [005] font-size="8pt">
> [006] <xsl:attribute name="value"><xsl:value-of
> select="employee/id"/></xsl:attribute>
> [008] </ml:barcode>
>
> Thanks! - Ian
> ( all copyright of originating material from XML Mill is acknowledged to
> be their property )
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplac
>e _______________________________________________
> Podofo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/podofo-users
--
**********************************************************************
Dominik Seichter - [EMAIL PROTECTED]
KRename - http://www.krename.net - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
