Image width, height.

Thomas Guettler guettli at thomas-guettler.de
Mon Mar 1 13:06:27 CET 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