pixels -> metrics
Thomas Guettler
guettli at thomas-guettler.de
Tue Dec 2 02:31:06 EST 2003
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
More information about the Python-list
mailing list