Drawing in PDF

J

Jun

HEllo,

I've a pdf file, and i want to draw some additional stuff on it, by
example : some markup .... notation. Anyone has idea how to do that ?
thank you in advance.
 
C

Chris Rebert

HEllo,

I've a pdf file, and i want to draw some additional stuff on it, by
example : some markup .... notation. Anyone has idea how to do that ?
thank you in advance.

ReportLab (http://www.reportlab.org/) can do PDF generation, although
it sounds like the for-pay, proprietary "PageCatcher" add-on library
might be needed to read from existing PDFs.

Cheers,
Chris
 
E

Emile van Sebille

On 6/29/2009 3:14 PM Jun said...
Thanks a lot, is there open source solution ?

Not that I'm aware of. If you have the appropriate source data you
could create the complete document using the open source ReportLab.
There are also tools available for combining PDFs. But if you want to
insert into the middle of an existing PDF let us know if you find an
open source answer.

Emile
 
J

Jun

On 6/29/2009 3:14 PM Jun said...



Not that I'm aware of.  If you have the appropriate source data you
could create the complete document using the open source ReportLab.
There are also tools available for combining PDFs.  But if you want to
insert into the middle of an existing PDF let us know if you find an
open source answer.

Emile

I checked out whyteboard project (http://code.google.com/p/
whyteboard/)
which intends to use cairo (Drawing) and Python Poppler (load PDF).
 
E

Eduardo Lenz

Em Seg 29 Jun 2009, às 20:39:22, Lawrence D'Oliveiro escreveu:
In message <b4daf01a-50e9-4038-9db0-



Poppler?

pypdf -- http://pybrary.net/pyPdf/


A Pure-Python library built as a PDF toolkit. It is capable of:

* extracting document information (title, author, ...),
* splitting documents page by page,
* merging documents page by page,
* cropping pages,
* merging multiple pages into a single page,
* encrypting and decrypting PDF files.

By being Pure-Python, it should run on any Python platform without any
dependencies on external libraries. It can also work entirely on StringIO
objects rather than file streams, allowing for PDF manipulation in memory. It
is therefore a useful tool for websites that manage or manipulate PDFs.



--

Eduardo Lenz Cardoso
Dr. Eng.
Associate Professor

State University of Santa Catarina
Department of Mechanical Engineering
89223-100 - Joinville-SC - Brasil

Tel: +55 47 4009-7971 - Fax: +55 47 4009-7940
E-mail: (e-mail address removed)
---------------------------------------------
 
E

Eduardo Lenz

Em Ter 30 Jun 2009, às 04:19:13, Grant Edwards escreveu:
While it may be a pure-python library, the problem is that
AFAICT it doesn't actually solve the problem at hand. The
requirement is to "draw" on the pages of an existing PDF
document (add annotations).


True, but does it allow you to add text/lines/etc. to a page?

being a pure python library makes "easy" to add those features. And also,
one can ask for those features for the developers. I think that this list is a
good place to point the existing solutions (not always the exact solution)
and also to collect valuable information about python libraries.


Please, lets keep in mind that this is not the debian list :).


[]'s
Lenz.

--

Eduardo Lenz Cardoso
Dr. Eng.
Associate Professor

State University of Santa Catarina
Department of Mechanical Engineering
89223-100 - Joinville-SC - Brasil

Tel: +55 47 4009-7971 - Fax: +55 47 4009-7940
E-mail: (e-mail address removed)
---------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,655
Latest member
eizareri

Latest Threads

Top