Importing multiple images at once?

Discuss ideas for new features with other users. To submit feature requests to Smith Micro, please visit support.smithmicro.com

Moderators: Víctor Paredes, Belgarath, slowtiger

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

Importing multiple images at once?

Post 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.
Toontoonz
Posts: 763
Joined: Fri Mar 25, 2005 9:28 pm

Post 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.
Toontoonz
Posts: 763
Joined: Fri Mar 25, 2005 9:28 pm

Post 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.
User avatar
bupaje
Posts: 1175
Joined: Fri Nov 12, 2004 5:44 pm
Location: California
Contact:

Post 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.
User avatar
7feet
Posts: 840
Joined: Wed Aug 04, 2004 5:45 am
Location: L.I., New Yawk.
Contact:

Post 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
NerdmastaX
Posts: 17
Joined: Tue Jan 18, 2005 3:07 am

what a great idea

Post by NerdmastaX »

what a great idea, i love it
LittleFenris
Posts: 246
Joined: Thu Mar 10, 2005 7:29 pm
Location: USA!

Post 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.
Toontoonz
Posts: 763
Joined: Fri Mar 25, 2005 9:28 pm

Post 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.
LittleFenris
Posts: 246
Joined: Thu Mar 10, 2005 7:29 pm
Location: USA!

Post 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.
janimatic
Posts: 136
Joined: Sat Mar 26, 2005 12:22 am
Contact:

Post 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
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post 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.
janimatic
Posts: 136
Joined: Sat Mar 26, 2005 12:22 am
Contact:

Post 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
User avatar
7feet
Posts: 840
Joined: Wed Aug 04, 2004 5:45 am
Location: L.I., New Yawk.
Contact:

Post 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.
janimatic
Posts: 136
Joined: Sat Mar 26, 2005 12:22 am
Contact:

Post by janimatic »

hey 7f!

import directory in a group layer is a great idea!!!!!
simple, efficient!


:shock: :twisted: :lol:
janimatic
Posts: 136
Joined: Sat Mar 26, 2005 12:22 am
Contact:

Post by janimatic »

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
Post Reply