Hi everybody, I want to convert a FITS image into PPM in batch mode. Grabbing code from different sites I end up to a source script version like this:
(define (fits-to-ppm infile outfile) (let* ((image (car (file-fits-load RUN-NONINTERACTIVE infile infile ) ) (drawable (car (gimp-image-get-active-layer image)))) (file-ppm-save RUN-NONINTERACTIVE image drawable outfile outfile 0) (gimp-image-delete image) ) ) ) When I run this in the command line (in the same directory where "mask.fits" reides) I get this result: $ gimp -i -b '( fits-to-ppm "mask.fits" "mask.ppm")' '(gimp-quit 0)' No batch interpreter specified, using the default 'plug_in_script_fu_eval'. batch command: executed successfully. However, no file "mask.ppm" appears in the directory where I'm executing gimp :-( Any ideas what's going on? Whatever comments/hint will be very welcome. Thanks in advance, Octavi.
_______________________________________________ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user