Quoting Dillon <dillonontheco...@gmail.com>:

> Sorry for being unclear - when I said "this line" I was referring to:
>
> (set! num-layers (car (gimp-image-get-layers newimage)))
>
>
> On Sat, Jul 24, 2010 at 9:50 AM, Dillon <dillonontheco...@gmail.com> wrote:
>> Here is the code:
>> :
>> :
>>  (set! newimage (car (gimp-file-load RUN-NONINTERACTIVE filename
>> filename)))
>>  (set! num-layers (car (gimp-image-get-layers newimage)))
>> :
>> :

The error is most likely owing to a failure of the file to load properly.

Try running the command:

  (batch-save-as-xcf pattern)

in the Script-fu console (provide the full path to a TIFF file as 'pattern').

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to