RANSOM DEMAND: Image Held Hostage!

Erik Max Francis max at alcyone.com
Sun Nov 18 20:20:39 CET 2001

Ben Ocean wrote:

> I need a way to size up images via script. Now, in that inferior
> scripting
> language known as PHP, *they* have such a tool: getimagesize(). Can it
> be
> that God's gift to scripting languages, Python, can't compete here? If
> it's
> true that PHP has one up on us here, how can I write a script that
> bridges
> this dastardly gap?

You'll need a graphics Python library.  Try PIL.

 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Laws are silent in time of war.
\__/ Cicero
    Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
 An Esperanto reference for English speakers.

More information about the Python-list mailing list