Re: ImageMagick Issue



Sick Monkey wrote:

When I run the following command:
ozdon@SickCodeMonkey david.huggins]# identify -format %w
'/someDIR/images/david.huggins/100_0264.JPG'

From Python interpreter:

cmd = "identify -format %w test.jpg"
p = subprocess.Popen(cmd.split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
t = p.stdout.read()
p.stdout.close()
t
'50\n'


From command line:

facundo@expiron:~$ identify -format %w test.jpg
50
facundo@expiron:~$

Regards,

--
.. Facundo
..
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/


.