Image width, height.

Thomas Guettler guettli at thomas-guettler.de
Mon Mar 1 07:06:27 EST 2004


Am Mon, 01 Mar 2004 11:38:11 +0000 schrieb Premshree Pillai:

> Hello,
> 
> Is there a Py module available using which I can find
> the width and height of any image format?

Hello,

try 'identify -format "%w %h"' with popen.

identify is part of imagemagick.

Sorry, that's no python module, but maybe it
helps you, too.

HTH,
 Thomas




More information about the Python-list mailing list