Comments (5)
Hi @vsrboth ,
Thank you for reporting the issue.
Could you please explain what you're experiencing?
I downloaded the file to test and CombinePDF.load
loaded the file properly.
The warnings are due to the fact that some features aren't fully supported by the library, so the library is warning about potential data loss... but I didn't notice any data loss, did you?
Best regards,
Bo.
from combine_pdf.
Hi @boazsegev ,
thank you so much for your prompt assistance (so much appreciate [bow]).
Problem is it takes me forever to load the pdf file. Probably you can find another Pdf sample for testing.
Note: I am using Mac - El Captian.
from combine_pdf.
Hi @vsrboth ,
Are you experiencing long load times when using the terminal?
When using the Terminal, Ruby will print back the value of the last statement, which can take a very long time for PDF objects.
PDF objects are stored in a recursive Hash (some hash keys point to their parents). Your file will have a Hash with more then 500 Kb of data.
This will take irb
a long time to process for printing.
You can avoid this slow "print" processing by giving irb
a smaller object to print.
i.e. the following line will print out the PDF Hash, which will take a long time:
CombinePDF.load "test.pdf"
So, you can change it to the following line, which prints nil
, which is fast:
pdf = CombinePDF.load "test.pdf"; nil
Then you can use the data in the pdf
variable to test out any actions you need. i.e.
pdf.save "out.pdf"
Please tell me if this helps.
from combine_pdf.
that's a magic ;) thank you so much @boazsegev
from combine_pdf.
You're Welcome :)
from combine_pdf.
Related Issues (20)
- How to PDF Encrypted Property Change ??
- LIbreOffice / Scribus & embedding fonts HOT 2
- Line break is not working HOT 1
- Parsing specific PDF in 1.0.21 - RangeError: index out of range (works in 1.0.20) HOT 5
- General PDF error - Combine PDF fails on specific PDF file HOT 1
- Seeking maintainers?
- How to use Arial black font in pdf?
- Fuzzer + various crashes
- SystemStackError: stack level too deep for docx file HOT 1
- Broken when parsing PDF with empty object
- Element missing error when rendering
- CombinePDF.parse is unable to process some PDF files
- Smart links are not updating or working in the combine process
- no implicit conversion of Symbol into Integer when using fonts()
- Combine many files at the same time and memory usage
- Web optimized PDFs improperly parsed
- center watermark HOT 1
- ParsingError: Optional Content PDF - with some PDF files uploaded HOT 5
- Couldn't connect reference
- paragraph text is collapsing when trying to combine file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from combine_pdf.