[Gimp-developer] Closing Command Line Window in Batch Mode (Windows
Those two tips were exactly what i have searched for. Everything works fine now. Thanks a lot! -- pakko (via www.gimpusers.com) ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Closing Command Line Window in Batch Mode (Windows
Quoting pakko : > : > : > : > Another issue concerns time measuring. I would like to measure the time gimp > takes for applying the different filters. Is it somehow possible save a > timestamp to a file with script-fu? (set! port (open-output-file "timings.log")) (set! starttime (realtime)) ; integer number of seconds since Unix epoch (apply-some-filterA drawableA paramA paramB) (display (- (realtime) starttime) port) ; elapsed time (in seconds) (newline port) (set! starttime (realtime)) (apply-some-filterB drawableB paramD paramE paramF) (display (- (realtime) starttime) port) (newline port) (close-output-port port) ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Closing Command Line Window in Batch Mode (Windows
On Wed, 2010-08-25 at 15:27 +0200, pakko wrote: > Hi, > > i'm writing a java application that automatizes some processes. One part of > the process is to start the gimp with a predefined script. The script loads an > image an applies some filter. For this purpose i use the commmand line > switches: > > gimp2-6.exe -i -b "(script_name params)" -b "(gimp-quit 0)" > > This works fine so far, but this opens a new windows-console. After the script > finished it states: > > "batch command successfull - " You are supposed to use the gimp-console binary for non-interactive use. Sven ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] Closing Command Line Window in Batch Mode (Windows
Hi, i'm writing a java application that automatizes some processes. One part of the process is to start the gimp with a predefined script. The script loads an image an applies some filter. For this purpose i use the commmand line switches: gimp2-6.exe -i -b "(script_name params)" -b "(gimp-quit 0)" This works fine so far, but this opens a new windows-console. After the script finished it states: "batch command successfull - " Since this window doesn't close itself, i can't recognize in my java-app, that the gimp-process has finished. Another issue concerns time measuring. I would like to measure the time gimp takes for applying the different filters. Is it somehow possible save a timestamp to a file with script-fu? -- pakko (via www.gimpusers.com) ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer