V
V
vvovas2020-10-30 21:06:18
PDF
vvovas, 2020-10-30 21:06:18

Which library can extract line information from a PDF file?

Is there a library that can extract a list of straight lines from a PDF?

I looked through a bunch of libraries and basically they offer to pull out text, pictures, annotations, etc., but not pieces of graphics.
At the same time, Foxit PhantomPDF, when viewing a PDF file, allows you to select a line and defines it as a shape object.

You can, of course, run through the commands with your hands and look for something like:

q
1.27718 0 0 1.27718 0 0 cm
16300 7092.98 m
15830.2 7092.98 l
S
Q


but, I think that according to the line specification, you can draw a fairly large number of options. So I want to find something ready, if possible.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question