Re: ImageMagick Issue
- From: Facundo Batista <facundo@xxxxxxxxxxxxxxxxx>
- Date: Thu, 31 May 2007 12:23:44 +0000 (UTC)
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:
'50\n'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
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/
.
- Prev by Date: Re: Python memory handling
- Next by Date: Re: Is PEP-8 a Code or More of a Guideline?
- Previous by thread: PEP 8 style enforcing program
- Next by thread: file reading by record separator (not line by line)
- Index(es):