Importing multiple images at once?
Moderators: Víctor Paredes, Belgarath, slowtiger
Importing multiple images at once?
I'm doing traditional cut-out with Moho where each character consists of 30-60 pieces of bitmap images and having to import>image for each and every one of these is a bore, not to mention time consuming.
Some kind of batch import would make me very, very happy.
Some kind of batch import would make me very, very happy.
I think that might not be too hard to whip up. It would have some restrictions though, the way I could work it out in Lua. You'd have to follow some naming conventions to make it work nice. Similar to the way that sequentially numbered images can be output from a lot of programs. So, say, you had your standard kind of "Picture001.png", 002, 003 sequence going on, it would be pretty easy. I might even do it right now. Lemme see if I can whip this out in no time flat.
It would be nice if Moho would let you do that from the standard import, but I think I should have something to fit the bill. It would be nice if you could just say import everything in this folder, but Lua just talks to the program itself the way it's told to, and mostly stays well away from the OS. Lemme dig out that ol' script reference.
--Brian
It would be nice if Moho would let you do that from the standard import, but I think I should have something to fit the bill. It would be nice if you could just say import everything in this folder, but Lua just talks to the program itself the way it's told to, and mostly stays well away from the OS. Lemme dig out that ol' script reference.
--Brian
-
- Posts: 17
- Joined: Tue Jan 18, 2005 3:07 am
what a great idea
what a great idea, i love it
-
- Posts: 246
- Joined: Thu Mar 10, 2005 7:29 pm
- Location: USA!
I've imported AI files exported from Flash and just did the whole character, then cut and pasted each part to a new layer in Moho. Took a bit of time, but at least I didn't have to import each part seperate, just had to cut and paste to new layers. Same could apply for Illustrator files.Toontoonz wrote:Yes, batch importing of files would be great.
When drawing in Illustrator I break my characters into several pieces and importing them one..............at...................a.................time......takes a long time.
It would be nice if Moho could import Illustrator files using the same layers and names as the Illustrator file has.
-
- Posts: 246
- Joined: Thu Mar 10, 2005 7:29 pm
- Location: USA!
I don't disagree batch importing would be a great addition, I was just stating a workaround I have for now.Toontoonz wrote:Yes, I have done that, too.
However, there are times when I need several pieces from different file locations and not all on the same file; such as a separate chair, a separate bird, a background, etc., etc.
Being able to batch load that would be nice.
hey all
you can use my script to import image sequence (both bitmap and vector images) here http://www.lostmarble.com/forum/viewtopic.php?t=1402
you can use my script to import image sequence (both bitmap and vector images) here http://www.lostmarble.com/forum/viewtopic.php?t=1402
Great work janimatic!janimatic wrote:you can use my script to import image sequence
But I wan't some kind of explorer-like mode where I can choose which files to import (as import works now exept I can only choose one file at a time), having to rename all images to a sequence and then renaming them in Moho again to know whats what is just to much of work in my case for your script to be practical.
hey ryllman,
i think the easiest way would be a file list in a text file,
but i'll see i can do using lua components (i don't think moho file selector would let user select multiple files)
By the way i just tested my script on mac today and it didn't work..
I have to check filenames on mac and linux.
Keep in track
i think the easiest way would be a file list in a text file,
but i'll see i can do using lua components (i don't think moho file selector would let user select multiple files)
By the way i just tested my script on mac today and it didn't work..
I have to check filenames on mac and linux.
Keep in track
The text file idea is interesting. It would be so much simpler if LM could just implement a file choosing dialog that would allow for choosing multiple files. Don't think that would be too rough.
Alternately, throwing in the directory traversing function that's described in the "Programming in Lua" book (chapter 29.1) should be simple and would at least allow all the files of a particular type inside a directory, regardless of name, to be imported. For users like rylleman, that would help a lot. If you're just batch importing images, I agree that it's a pain to rename all of the layers and such.
Alternately, throwing in the directory traversing function that's described in the "Programming in Lua" book (chapter 29.1) should be simple and would at least allow all the files of a particular type inside a directory, regardless of name, to be imported. For users like rylleman, that would help a lot. If you're just batch importing images, I agree that it's a pain to rename all of the layers and such.
hey friends!
here is the new import directory script :
http://animatic.no-ip.com/pub/dev/moho/ ... ectory.lua
and a similar discution:
http://www.lostmarble.com/forum/viewtop ... =6916#6916
Please also update image sequence , bug fix :
http://animatic.no-ip.com/pub/dev/moho/ ... quence.lua
regards , julien
here is the new import directory script :
http://animatic.no-ip.com/pub/dev/moho/ ... ectory.lua
and a similar discution:
http://www.lostmarble.com/forum/viewtop ... =6916#6916
Please also update image sequence , bug fix :
http://animatic.no-ip.com/pub/dev/moho/ ... quence.lua
regards , julien