Post Reply 

Need help in running a gui script-fu via command line

Oct 3, 2014, 14:03 (This post was last modified: Oct 3, 2014 14:05 by eyalzek.)
Post: #1
Need help in running a gui script-fu via command line
So my grandmother was using our old sony digital camera and took around 400 photos in multi-burst mode. I found a script-fu online to help convert these:
http://mo-no-e.blogspot.co.il/2009/10/co...-into.html

My problem is, having many pictures I'd prefer running it from the command-line. After a few tries and then some reading here on the forums I realized that this script was not made for batch mode ('image' and 'drawable' params gave that up).

I tried converting it myself but not knowing the syntax and what the hell I'm doing, it obviously didn't work. I'm quite competent with Python but I'm still not sure what needs to be written in order to solve this one. (I'm using linux if it matters).

Can anyone offer any help?

Thanks!
Find all posts by this user
Quote this message in a reply
Oct 3, 2014, 16:08
Post: #2
RE: Need help in running a gui script-fu via command line
I'm responding here rather than to your direct e-mail because it could help others.

Yes, you are right in thinking that the script as supplied isn't suitable for batch processing directly and will need a wrapper written.

Just to confirm that this is the right script for you - the input to it is a single image made up of a lot of individual images in a collage - is that what you have?

If the answer is yes, then all the wrapper needs to do is open the composite image and pass the image Id and layer id to the script. Then close the composite image at the end.

I'll have a look at this later.

Kevin
Find all posts by this user
Quote this message in a reply
Oct 4, 2014, 14:05
Post: #3
RE: Need help in running a gui script-fu via command line
Well, I tried writing a wrapper and had some issues with that, tried fixing the .scm file to my needs, that also gave me some issue.

I ended up giving imagemagick a chance like ofnuts suggested and it ended up being way more easy - like he saidSmile

So this is the script if anyone would ever be interested:
https://github.com/eyalzek/imagick-multi...-to-gif.py

Thank you guys for the help!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Sad Strange Filter Behaviour - Filter GUI not interacting SamPat 1 194 Oct 13, 2017 11:46
Last Post: paynekj
  Request for script chlebna 1 197 Sep 13, 2017 09:35
Last Post: ythgilb
  Request for script - Guillotine + Watermark sunslick 1 255 Sep 4, 2017 08:51
Last Post: ythgilb
  Script-fu: How to create new, addressable layer using gimp-floating-sel-to-layer Bertholomäus 1 278 Aug 31, 2017 14:32
Last Post: Bertholomäus
  How to modify this script-fu? Zakary81 1 222 Aug 23, 2017 12:48
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS