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
(define (fits-to-ppm infile
(let* ((image (car (file-fits-load
(drawable (car (gimp-image-get-active-layer image))))
(file-ppm-save RUN-NONINTERACTIVE image drawable outfile outfile 0)
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
Any ideas what's going on?
Whatever comments/hint will be very welcome.
Thanks in advance,
Gimp-user mailing list