Forum Post
Index > Scripting > request expantion of the save command

Author/Date request expantion of the save command
exosceleton
19/06/2007 6:27am
to include the option to script any subsequent required info, like jpg quality or opaque / background.
fret
20/06/2007 5:09am
I've added an option string parameter to the "save" command in i.Mage that works like this:
save("c:\something.jpg", "quality=30");


The fields you can put in there are "Transparent", "Quality", "Fore" and "Back" in the form:
field=value[;field=value]
fret
20/06/2007 5:11am
Oh and if you don't specify the values in there a dialog will appear for you to specify them as per a normal save session.
exosceleton
21/06/2007 5:46am
works for me!
and super fast response as allways, thank you fret!

only the .png save routines are broken in the new version, i'll go to the bugdb.
Reply