Hey all, i've been searching the web slowing learning bits and pieces of gimps Scheme scripting in order to make a few tasks I have a bit easier but have run into a road block I could sure use a little bit of help with.
![Smile :)](./images/smilies/icon_smile.gif)
I'm fairly new to coding in general and brand new to Gimps Script-fu so go slow and easy on me.
Heres my question.
I'm looking to be able to use the gimp-file-load-layers procedure to grab a multi page .Tif file and then use the insert-layer procedure to drop them in so I can then do some other tweaking to them. My problem being is that I just don't understand the Return values that load-layers creates and how to access them.
So here's a snippet of how i'm currently using it. (map(car(gimp-file-load-layers RUN-NONINTERACTIVE main input1)))
this works as far as I can tell... at least it seems to actually go and grab the file and load it into layers but then when it's time to use insert-layer I need to provide the LAYER parameter which I understand is a layer-id generated by load-layers but where is it put or how can I access it?
Again i'm pretty new to all this so its highly likely that i'm missing something obvious or that I just don't understand something correctly. Any help to point me in the right direction or any explanations on how this all works would be tremendous.
![Smile :)](./images/smilies/icon_smile.gif)
Thanks!