Replies: 5 comments 3 replies
-
Here's the comparison of the full Bezier curve and the join-the-points originalpoints polygon![]() |
Beta Was this translation helpful? Give feedback.
-
Some good news — it looks like support for Bezier curve control points has been added to Once that release is published, I'll see if I can pull that info into the Is there a particular way you'd like to see those control points represented? |
Beta Was this translation helpful? Give feedback.
-
Great, More generally, I am using HTML and SVG to model the semantics of the PDF. In effect to recreate the author's data model. Clearly a lot of this community are extracting from tables, and even there HTML will help a lot, especially with more complex tables (beyond the cartesians rows*cols). HTML and SVG can hold intermediate outputs which can be further analysed downstream. Thanks to the |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, |
Beta Was this translation helpful? Give feedback.
-
We are in Geneva presenting our pdfplumber-based pipeline to United Nations
, IPCC, WMO, etc. and there's a lot of interest in converting PDF - they
have metres of reports! So thanks to everyone.
…On Fri, Nov 3, 2023 at 6:14 PM Jeremy Singer-Vine ***@***.***> wrote:
pdfminer.six has, unfortunately, not yet published a release containing
that commit. See here:
https://github.com/pdfminer/pdfminer.six/blob/master/CHANGELOG.md
—
Reply to this email directly, view it on GitHub
<#892 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFTCSYM73VBVEQEK4EQUQLYCUYBBAVCNFSM6AAAAAAYQQC6K6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TINRZHA4TS>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK
|
Beta Was this translation helpful? Give feedback.
-
I'm interested in extracting full information for Bezier curves (not just coordinates). AFAICS
LTCurve
does not hold Bezier operators (M[ove]
,C[ubic]
,Q[uadratic]
andZ[Close]
). I assume that the points are a mixtures of points on the curve and control points. However without the operators it is not possible to draw the curves.I don't know the PDF primitives but In have used their translation (e.g. in
PDFBox
) from which I can generate SVG.Here's an example
https://upload.wikimedia.org/wikipedia/commons/d/d9/Circle_and_cubic_bezier.svg
and its source:
view-source:https://upload.wikimedia.org/wikipedia/commons/d/d9/Circle_and_cubic_bezier.svg
of how to generate a (good) approximation to a circle
class LTCurve(LTComponent):
"""A generic Bezier curve"""
Beta Was this translation helpful? Give feedback.
All reactions