-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems rendering the files produced by TCPDF #11
Comments
It looks like there is an error "ref is undefined" in pdf.js:1336. I wonder why this problem is not caught sooner. In all cases http://www.tcpdf.org/examples.php seems a great resource to check the support of individual feature of a pdf document. |
When I try to run it, I get there error "filter 'DCTDecode' not supported yet." PDF supports several different types of compression algorithms used for images and text. So far, only the most popular (Flate encoding) has been implemented. My guess is that the images in example_001.pdf are using the DCTDecode, causing the error which stops the rest of the page from being rendered. I also agree that the link provided should be a good resource to test support of these features and find out what is missing and needs to be added. |
Thanks by your reply. I search if the TCPDF library supports or can add the flate encoding compression algorithm and inform you of the results Josep. |
It works now. |
Hi team. I tested some PDF generated by TCPDF and renders Thanks for your notification email. Josep. Josep Sanz Campderrós El 2011-08-25 03:58:49, vingtetun escribió: It works now. -- |
Hi Chris Jones and Andreas Gal (and all the pdf.js I'm happy to inform you that I'm using in my Previously, I offered this functionality using Now, with pdf.js, only is needed transfer the PDF Thanks for your great job. You can contact me if you want or need help. Josep. Josep Sanz Campderrós El 2011-08-25 03:58:49, vingtetun escribió: It works now. -- |
I tested to display a document example provided by TCPDF class (example_001.pdf for example) and only displays a white page.
I done some tricks to detect what type of PDF file (version 1.4, letter and more) is needed and I don't know how create documents that can be readable by the PDF.JS reader.
My idea is to replace my actual system that convert PDF page into an image that is displayed online to the final user with this PDF reader.
It's a very good project and I want to thanks for your effort.
Josep Sanz.
www.saltos.net
The text was updated successfully, but these errors were encountered: