ole convert and multiple parms

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jg6361429@gmail.com
Posts: 1
Joined: 2019-03-09T08:29:15-07:00
Authentication code: 1152

ole convert and multiple parms

Post by jg6361429@gmail.com »

I am using using ole to call the convert command in Powerbuilder. I need to convert a variable number of files but don't know how to do it using one call to the convert command .

so:

ole.convert (file1, file2,.. filen, other parms follow)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ole convert and multiple parms

Post by fmw42 »

See mogrify to process a whole folder of images at one time. Otherwise, you have to write a script loop over each file and process each with convert one at a time with some special case exceptions.

See https://imagemagick.org/Usage/basics/#mogrify

___________________

Please, always provide your IM version and platform when asking questions, since syntax may differ.

Also provide your exact command line and your images, if possible.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620

If using Imagemagick 7, then see http://imagemagick.org/script/porting.php#cli


For novices, see

http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown
https://imagemagick.org/script/porting.php#cli
Post Reply