Vector image not getting imported correctly

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
My 0wn Style
Posts: 19
Joined: Wed Jan 05, 2022 3:38 am

Vector image not getting imported correctly

Post by My 0wn Style »

I have a vector image in CorelDraw 2021. I've exported the image as an .svg and an .eps file. However, when I try to import the .svg file, nothing happens. Meaning no image is imported into the Moho project nor is a new vector layer created. I've tried importing the .eps file, which does successfully import the vector image and creates a new vector layer, but all the colors are replaced with black. I have screenshots showcasing all these steps, but I can't figure out how to have images posted in a forum post. Could someone help with either of these issues.

For reference, the version of Moho Pro I'm running is 13.5.2.
User avatar
sang820
Posts: 764
Joined: Fri Sep 10, 2004 6:55 am
Location: china Beijing
Contact:

Re: Vector image not getting imported correctly

Post by sang820 »

:shock: It is recommended to use png or psd. If you need vector graphics, you can make vector models in Moho. Moho has great drawing functions and is compatible with animation.
User avatar
synthsin75
Posts: 10280
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Vector image not getting imported correctly

Post by synthsin75 »

SVG can include embedded bitmap info that Moho won't know what to do with. You either need to import a wholly vector SVG or import it in a bitmap format (png, jpeg, etc.).
My 0wn Style
Posts: 19
Joined: Wed Jan 05, 2022 3:38 am

Re: Vector image not getting imported correctly

Post by My 0wn Style »

synthsin75 wrote: Wed Jan 05, 2022 5:35 pm SVG can include embedded bitmap info that Moho won't know what to do with. You either need to import a wholly vector SVG or import it in a bitmap format (png, jpeg, etc.).
What do you mean by a wholly vector SVG?
User avatar
synthsin75
Posts: 10280
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Vector image not getting imported correctly

Post by synthsin75 »

All the art has points and curves, rather than any paintbrush-type art. Some programs use bitmap effects in fills, like gradients. Those would count as non-vector as well.
My 0wn Style
Posts: 19
Joined: Wed Jan 05, 2022 3:38 am

Re: Vector image not getting imported correctly

Post by My 0wn Style »

Okay, so I've seen people export vector images via Adobe Illustrator into Moho Pro, so I know it can be done. But is it really just recommended practice to only import .png images instead (especially since I don't want to get a subscription to adobe illustrator)?
User avatar
synthsin75
Posts: 10280
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Re: Vector image not getting imported correctly

Post by synthsin75 »

Exporting an SVG file
• Scalable Vector Graphics (SVG) allows three types of graphic objects: vector graphic shapes (for example, paths consisting of straight lines and curves), images, and text.
• Drop shadows are rasterized in SVG files.
http://product.corel.com/help/CorelDRAW ... ingle=true
So svg from CorelDraw cannot include images or drop shadows to be opened in Moho. But if it only includes "vector graphic shapes (for example, paths consisting of straight lines and curves)," you should be able to import it into Moho.

AI will only help if it gives you fewer options that are non-vector.
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Vector image not getting imported correctly

Post by Greenlaw »

From Adobe Illustrator I use Save As... and choose SVG as my format. I'm not sure it matters but I use the default SVG Tiny 1.2 option. Don't use the Export As... command; this version of SVG in Illustrator is apparently not compatible with Moho.

I don't have Corel Draw here but see if the Tiny 1.2 options in the program. I'm not sure how critical this option is but it works here.

When importing the SVG to Moho be sure to use Import >Vector File> SVG File...

I don't normally work with SVG but the above method has consistently worked correctly in my tests.

When working with external files, I typically use PNG for bitmap imports to Moho, and I recently switched to using the new Layered PSD. Any vector program should be able to export a PNG. There are some advantage to doing this, especially if you want to use mesh warps. The downside is the resolution dependence; create the art as high res as you think you need but be aware that Moho will slow down with too many high-res images. Sometimes I'll make two versions of a setup, one for close ups with the high-res art, and an appropriately lower-res version for wider shots.

When I need vector art in Moho (most of my character work is vectors,) I'll create I'll create it directly inside Moho using mainly the Add Points tool. But when I must use another program to create the vector art (Illustrator in my case,) I do the above.

Hope this helps.
User avatar
Greenlaw
Posts: 10466
Joined: Mon Jun 19, 2006 5:45 pm
Location: Los Angeles
Contact:

Re: Vector image not getting imported correctly

Post by Greenlaw »

house10 wrote: Wed Jan 05, 2022 8:27 pm use illustrator
export as ai
choose 2008 in certain u will get ur proper vector
Good tip! I'm assuming you mean the old Illustrator 8 format, which actually came out in 1998. This was the last 'generic' .ai format and it's still pretty compatible with many programs. And you're right, this imports well into Moho 13.5.2. Before Moho had support for Bezier curves, the imported shape had to be converted to 'Moho' points and the original point count and placement from Illustrator could change drastically. Nowadays, however, the Illustrator 8 format should work fine if you're using basic stroke and fill features in Illustrator.

The downside is that certain 'modern' Illustrator-specific properties will not be preserved in the format. But that would be true for SVG exports too. (But maybe to a lesser degree?)
Last edited by Greenlaw on Thu Jan 06, 2022 1:11 am, edited 2 times in total.
My 0wn Style
Posts: 19
Joined: Wed Jan 05, 2022 3:38 am

Re: Vector image not getting imported correctly

Post by My 0wn Style »

Thanks for all the responses, everybody. I think I have all I need
Post Reply