pixels -> metrics

D

DCK

Hello
I wonder, is it possible to draw a line in Python, which one will be 1cm
long after print. In groups.google i found something like "[...]1 pixel is
1/97inch[...]" but it ist adequate for GD-Library (Kind of PHP library, i
think). Do you have any ideas about it ?
 
T

Thomas Guettler

Am Tue, 02 Dec 2003 06:53:36 +0100 schrieb DCK:
Hello
I wonder, is it possible to draw a line in Python, which one will be 1cm
long after print. In groups.google i found something like "[...]1 pixel is
1/97inch[...]" but it ist adequate for GD-Library (Kind of PHP library, i
think). Do you have any ideas about it ?

If you want to print it, I suggest that you have a look
at the library of reportlab. I can create PDF with it.

thomas
 

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,175
Messages
2,570,942
Members
47,476
Latest member
blackwatermelon

Latest Threads

Top