how do I change width/height through command line?

Come here for help & support.
Post Reply
6 posts • Page 1 of 1
tupacodaman
Posts: 5
Joined: Fri Jun 01, 2012 12:28 am

how do I change width/height through command line?

Post by tupacodaman » Wed Jun 06, 2012 2:49 am

Hi everyone,

So I'm writing a script that will use this command

indigo inputfilename -o outputfilename -halt 3600

to go through a bunch of files I want to render and then save each image after it's rendered for an hour (the loops obviously aren't above, still working on that)

my question is: is there any command line function I can add to specify the width/height? I'd like to make each image 800x600. The files, by the way, were all exported with SkIndigo, but at different ratios. So it'd be great to just be able to make them consistent through Indigo

thanks in advance!

User avatar
OnoSendai
Developer
Posts: 6244
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: how do I change width/height through command line?

Post by OnoSendai » Wed Jun 06, 2012 3:08 am

--settings "<width>100</width><height>100</height>"

tupacodaman
Posts: 5
Joined: Fri Jun 01, 2012 12:28 am

Re: how do I change width/height through command line?

Post by tupacodaman » Wed Jun 06, 2012 3:40 am

hm, what is the syntax? I've typed in both of these and neither one works:


indigo --settings "<width> 800 </width> <height> 600 </height>"
inputfilename -o outputfilename -haltspp 600


indigo /home/davidmunoz/tarrlabdata/Tara/test/Kitchen_1A.igs -o /home/davidmunoz/tarrlabdata/Tara/test/Kitchen_1A.jpg -haltspp 600 --settings "<width> 800 </width> <height> 600 </height>"


thanks!

User avatar
OnoSendai
Developer
Posts: 6244
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: how do I change width/height through command line?

Post by OnoSendai » Wed Jun 06, 2012 4:28 am

Try it with indigo_console, it should work. I'm not sure if it works with the GUI executable.

tupacodaman
Posts: 5
Joined: Fri Jun 01, 2012 12:28 am

Re: how do I change width/height through command line?

Post by tupacodaman » Wed Jun 06, 2012 8:55 am

hm, sorry, complete novice here. I'm using indigort with linux and I don't see indigo_console anywhere in the main indigort directory :( is that where it's supposed to be?

thanks though!

User avatar
OnoSendai
Developer
Posts: 6244
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Re: how do I change width/height through command line?

Post by OnoSendai » Wed Jun 06, 2012 9:39 am

It should be. Which Indigo version are you using? (3.0, 3.2 etc..)

Post Reply
6 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 14 guests