Re: ImageMagick Issue

2007-06-01 Thread Facundo Batista
Sick Monkey escribió: > I ran into another slight problem. And I attempted to fix it, but have > not been able to do so yet. If a filename does not contain a space, > then this method works like a charm. But if there is a space then the > code throws a nasty error. Ok, the issue is that sub

Re: ImageMagick Issue

2007-05-31 Thread Michael Bentley
On May 31, 2007, at 8:08 PM, Sick Monkey wrote: I ran into another slight problem. And I attempted to fix it, but have not been able to do so yet. If a filename does not contain a space, then this method works like a charm. But if there is a space then the code throws a nasty error. i

Re: ImageMagick Issue

2007-05-31 Thread Sick Monkey
I ran into another slight problem. And I attempted to fix it, but have not been able to do so yet. If a filename does not contain a space, then this method works like a charm. But if there is a space then the code throws a nasty error. import os import subprocess from os import * imagefile = "

Re: ImageMagick Issue

2007-05-31 Thread Facundo Batista
Sick Monkey wrote: > When I run the following command: > [EMAIL PROTECTED] 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, >>> stde

Re: ImageMagick Issue

2007-05-30 Thread Michael Bentley
On May 30, 2007, at 11:00 PM, Sick Monkey wrote: When I run the following command: [EMAIL PROTECTED] david.huggins]# identify -format %w '/someDIR/ images/david.huggins/100_0264.JPG' I get the following result 2304 However, when I try to set this value to a variable, ie