Linux Batch image import

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Linux Batch image import

Post by rylleman »

Unfortunately none of the batch import scripts work in linux and when drag-and-dropping images you get a quite annoying question asking if you'd like to use the image as a tracing image or a normal image for each and every image.

There's where my script comes in.
It's a nautilus script that places every image layer you have selected into an .anme-file that you can import into your AS-scene.

To use it select all images you'd like to import and run the script from your right-click meny>scripts. You get a question about which type of layer you'd like to place the images in; Group, bone or switch.
Now it can take a few seconds if you've got many images. When done you've got a file called "image-export.anme" in the same folder as the images that you can import into your AS-scene.

To install the script place it in your nautilus scripts-folder, $HOME/.gnome2/nautilus-scripts, or by right clicking in nautilus and select >scripts>open scripts folder.
Then make it executable by running "chmod u+x ImagesToAnme.sh" in terminal.

Images to anme Nautilus script

Note that this is a nautilus script, the default file manager of Gnome. You probably can use the script with other flavours of desktop and file managers, I'm just not sure how, google it.
Last edited by rylleman on Tue Mar 17, 2009 9:14 pm, edited 1 time in total.
Genete
Posts: 3483
Joined: Tue Oct 17, 2006 3:27 pm
Location: España / Spain

Post by Genete »

Thanks! It is great how much contributions are you doing to the Anime Studio - linux version! Thanks for the script! :D
-G
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

Thank you.
Linux is my production platform nowadays so I'm doing all I can to make work easier.
Post Reply