ImageMagick Issue
Sick Monkey
sickcodemonkey at gmail.com
Thu May 31 00:00:39 EDT 2007
I have the following:
OS = RedHat
ImagMagick installed.
Python v2.5
---------------------
When I run the following command:
ozdon at SickCodeMonkey 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
w= os.system("identify -format %w
'/someDIR/images/david.huggins/100_0264.JPG'")
print w
I get
TypeError: argument 1 must be string or read-only buffer, not int
NOTE: This is coming from a Python Servlet Page.
As always, any input is GREATLY appreciated.
Thanks
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070531/ffa8316c/attachment.html>
More information about the Python-list
mailing list