Comments (6)
Thanks for the bug report, I'll push out 0.0.9 this evening since 0.0.7 is already breaking consumers in the wild (0.0.8 is skipped).
from pdfpig.
I just tested 0.0.9 and it solved my issue using the stream. @Numpsy @EliotJones Thanks a lot for the quick solution!
from pdfpig.
Extra note: using the UseLenientParsing
option does not solve the problem.
from pdfpig.
I was getting errors of that sort that turned out to be because of the bug described in #52 (those files either failed or worked depending on which APi was used to open the document)
from pdfpig.
Thanks for the reply @Numpsy . I can confirm that my problem is fixed when opening the pdf with a file path, instead of stream. I see that your fix has been merged, so I'll guess I'll wait for the next release.
from pdfpig.
When you get time would you be able to try 0.0.9 which is now on NuGet and check it fixes the issue when opening from a stream please? I've also added a bunch of test cases for opening from a stream to hopefully avoid this in future.
from pdfpig.
Related Issues (20)
- UnsupervisedReadingOrder orders 2 blocks on the same row out of order HOT 2
- PDF linearization
- When a get textblock from a PDF vary depending on the operating system HOT 6
- New Nuget package release for PDF Pig HOT 6
- XYLeaf.GetLines collect lines not robust enough HOT 18
- Extracting lines HOT 3
- Copy existing page to PdfDocumentBuilder without it's text HOT 1
- TryGetForm does not support field partial names with a "." HOT 5
- Support p7m signed PDFs
- Why GlyphRectangle bounding box not correct for letter g?
- Errors in examples on "readme.md" ? HOT 1
- Allow reading orders dectors to support any class that has a bounding box/PdfRectangle HOT 1
- File exception: UglyToad.PdfPig.Core.PdfDocumentFormatException' was thrown. HOT 4
- ArgumentOutOfRangeException when reading a document HOT 7
- Add image to PDF with different coordinate origin
- Using DuplicateOverlappingTextProcessor in HOcrTextExporter
- Populate data catalog info without reading the rest of the pdf
- Read document structure and apply PDF accessibility tag? HOT 1
- "Object reference not set to an instance of an object." HOT 6
- PdfDocumentBuilder creates broken annotation elements when copying pages from specific source PDFs HOT 4
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 pdfpig.