Page 1 of 2
Importing multiple images at once?
Posted: Tue Mar 29, 2005 12:51 pm
by rylleman
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.
Posted: Tue Mar 29, 2005 1:28 pm
by Toontoonz
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.
Posted: Tue Mar 29, 2005 4:57 pm
by Toontoonz
And might I add that each image or file imported is placed on its on separate layer in Moho.
That would be a real time saver.
Posted: Tue Mar 29, 2005 5:55 pm
by bupaje
I suggested this elsewhere but along the same lines it would be good to be able to import a layered PSD file and have each Photoshop layer go to a new layer in Moho.
Posted: Tue Mar 29, 2005 7:38 pm
by 7feet
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
what a great idea
Posted: Tue Mar 29, 2005 7:38 pm
by NerdmastaX
what a great idea, i love it
Posted: Tue Mar 29, 2005 8:46 pm
by LittleFenris
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.
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.
It would be nice if Moho could import Illustrator files using the same layers and names as the Illustrator file has.
Posted: Tue Mar 29, 2005 9:49 pm
by Toontoonz
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.
Posted: Tue Mar 29, 2005 11:09 pm
by LittleFenris
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.
I don't disagree batch importing would be a great addition, I was just stating a workaround I have for now.
Posted: Tue Apr 05, 2005 8:35 am
by janimatic
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
Posted: Tue Apr 05, 2005 10:21 am
by rylleman
janimatic wrote:you can use my script to import image sequence
Great work janimatic!
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.
Posted: Tue Apr 05, 2005 9:13 pm
by janimatic
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
Posted: Tue Apr 05, 2005 9:28 pm
by 7feet
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.
Posted: Wed Apr 06, 2005 1:11 am
by janimatic
hey 7f!
import directory in a group layer is a great idea!!!!!
simple, efficient!
:shock: :twisted: :lol:
Posted: Wed Apr 06, 2005 10:38 pm
by janimatic