Another revision, i think this is optimized now for speed and (non)visibility
of dos window:
start "convert" /min "C:\Program Files (x86)\GIMP-2.0\bin\gimp-console-2.6.exe"
-i -d -f -b "(save-as-jpg "\"usgs.png\"" 0.7 "\"usgs.jpg\"")" -b "(gimp-quit 0)"
So I am using the dos Start command now, for its nice /min option.
I use that, as well as /wait option for as close to silent installs as
possible, so worked well here.
I'm still wondering if the 10 seconds it takes to run can be improved. Its
converting a 53mb png to jpg.
>Ok, seemed I needed to use the console exe. Now code is:
>"C:\Program Files (x86)\GIMP-2.0\bin\gimp-console-2.6.exe" -i -b "(save-as-jpg
>"\"DSC_2636-Color24Bit.png\"" 0.7 "\"DSC_2636-Color24Bit.jpg\"")" -b
>Now to see if i can speed up the loading of GIMP for this as it took a few
>seconds longer to run than expected.
JamesMaeding (via gimpusers.com)
Gimp-user mailing list