P
P
Pavel2016-06-29 08:39:36
Images
Pavel, 2016-06-29 08:39:36

How to extract a VECTOR image from a PDF document?

Task:
there is a document in PDF format, inside it there is a picture in VECTOR format.
You need to extract the desired image from a PDF document and save it in VECTOR format.
You can take a screenshot of the screen, cut out the bitmap and run through some encoder "raster --> vector" I looked at the PDF standard (ISO 32000 )
diagonally . In principle, there is nothing complicated - you just need to find the required obj , extract it, understand the data format and just save it. But I really don't want to spend 1-2 evenings on such a simple technical problem... Surely someone has already solved a similar problem. Would you recommend a software?


Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Neron, 2016-06-29
Lordov @Nekto_Habr

Very simple. There are no OBJs in PDF, only vector data. You put the PDF into Illustrator and extract the necessary graphics or delete the unnecessary ones, and then save them in one of the vector formats (ai, svg, eps, pdf and many others that illustrator supports). Done in a minute.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question