Re: Conversion of PDF to Postscript Compatible Asset
Hi, you could use PDFBox PDFToImage command line tool to verify how PDFBox handles your PDF. Wouldn't guarantee that it works with fop but might help to track down the route cause. BR Maruan Am 01.06.2013 um 00:56 schrieb Luis Bernardo lmpmberna...@gmail.com: Can you sends us the original example so that we can take a look? There have been many recent fixes regarding fop-pdf-images and pdfbox and issues related to images. But we are aware of bugs in pdfbox that we haven't investigated, let alone addressed... If the shading that you describe is due to transparency then that may be part of the problem. PostScript does not support transparency the way PDF does, so what pdfbox does is to build a composite where the color of a pixel is a blend of the foregroung and background colors but the result is not always correct (probably due to bugs). On 5/30/13, Martin Edge martin.e...@intellimail.com.au wrote: Hi Guys, Wondering if you could suggest whether I should bother and if so where I would start isolating the root cause of this problem. I'm using fop-pdf-images as a background, and in PDF it looks fine, in postscript the shading part of the document falls off. (I've tried both CMYK based and RGB based PDFs with it.) I ended up having to render the document as PDF, which removes a lot of the smarts I have in place in respects to duplexing and tray selection. I'm currently using FOP 1.1 for the process, with pdf-image add-in - I have re-downloaded the fop 1.1 source and the latest fop-pdf-images and compiled them and it seems to have built OK. The only output which seems PDFBox related is: May 30, 2013 2:57:10 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: BDC May 30, 2013 2:57:11 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: BX May 30, 2013 2:57:11 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: EX May 30, 2013 2:57:11 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: EMC I have built a mini test case/example if that helps or if anyone is curious.. Thanks Martin. IntelliMail - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Conversion of PDF to Postscript Compatible Asset
Can you sends us the original example so that we can take a look? There have been many recent fixes regarding fop-pdf-images and pdfbox and issues related to images. But we are aware of bugs in pdfbox that we haven't investigated, let alone addressed... If the shading that you describe is due to transparency then that may be part of the problem. PostScript does not support transparency the way PDF does, so what pdfbox does is to build a composite where the color of a pixel is a blend of the foregroung and background colors but the result is not always correct (probably due to bugs). On 5/30/13, Martin Edge martin.e...@intellimail.com.au wrote: Hi Guys, Wondering if you could suggest whether I should bother and if so where I would start isolating the root cause of this problem. I'm using fop-pdf-images as a background, and in PDF it looks fine, in postscript the shading part of the document falls off. (I've tried both CMYK based and RGB based PDFs with it.) I ended up having to render the document as PDF, which removes a lot of the smarts I have in place in respects to duplexing and tray selection. I'm currently using FOP 1.1 for the process, with pdf-image add-in - I have re-downloaded the fop 1.1 source and the latest fop-pdf-images and compiled them and it seems to have built OK. The only output which seems PDFBox related is: May 30, 2013 2:57:10 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: BDC May 30, 2013 2:57:11 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: BX May 30, 2013 2:57:11 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: EX May 30, 2013 2:57:11 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: EMC I have built a mini test case/example if that helps or if anyone is curious.. Thanks Martin. IntelliMail - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Conversion of PDF to Postscript Compatible Asset
Hi Guys, Wondering if you could suggest whether I should bother and if so where I would start isolating the root cause of this problem. I'm using fop-pdf-images as a background, and in PDF it looks fine, in postscript the shading part of the document falls off. (I've tried both CMYK based and RGB based PDFs with it.) I ended up having to render the document as PDF, which removes a lot of the smarts I have in place in respects to duplexing and tray selection. I'm currently using FOP 1.1 for the process, with pdf-image add-in - I have re-downloaded the fop 1.1 source and the latest fop-pdf-images and compiled them and it seems to have built OK. The only output which seems PDFBox related is: May 30, 2013 2:57:10 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: BDC May 30, 2013 2:57:11 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: BX May 30, 2013 2:57:11 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: EX May 30, 2013 2:57:11 PM org.apache.pdfbox.util.PDFStreamEngine processOperator INFO: unsupported/disabled operation: EMC I have built a mini test case/example if that helps or if anyone is curious.. Thanks Martin. IntelliMail attachment: pdf_postscript.png - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org