[issue23104] [Windows x86-64] Incorrect function call

2014-12-23 Thread Андрей Парамонов
New submission from Андрей Парамонов: To reproduce: 0) Compile attached testlib.c 1) Run the following code: from __future__ import print_function from __future__ import unicode_literals from ctypes import * testlib = windll.LoadLibrary('testlib') testfun = testlib.test class objid

Re: Calling ImageMagick's convert

2008-12-22 Thread Андрей Парамонов
2008/12/22 Chris Rebert c...@rebertia.com: I think this needs to be: subprocess.call(['convert', 'in.png', '-resize', '640x480', 'out.png']) Otherwise, it gets '-resize 640x480' as a single escaped option when it's really 2 options, which is the error message you're getting. You have to