Hola Octavi! El dg 06 de 04 del 2008 a les 19:31 +0000, en/na Octavi Fors va escriure:
> 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 > ) > ) ; Here you lack a ) closing (image > (drawable (car (gimp-image-get-active-layer image)))) > > (file-ppm-save RUN-NONINTERACTIVE image drawable outfile outfile 0) > (gimp-image-delete image) > ) > ) Here you should remove the ) added before > ) > > Thanks in advance, > > Octavi. Hope this helps Pere _______________________________________________ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user