Page 1 of 1

SVG import desn't work? V14

Posted: Thu Jan 25, 2024 4:37 pm
by lazyroll
I've exported .SVG from affinity designer with a very light and clean hierarchy. It shows on finder while in thumbnail preview how everything looks, but when I try to import that file into Moho, it uploads single empty vector layer. Solutions? Tried to move the file from SSD to desktop, changing settings. What am I missing?

Re: SVG import desn't work? V14

Posted: Thu Jan 25, 2024 7:48 pm
by SimplSam
To get to see the error message you need to enable Debug Info in the settings ☰ hamburger menu.

99.9% of the time it fails because there is a non-english character in the filename or because the file is 16 bit unicode (UTF-16).

Re: SVG import desn't work? V14

Posted: Thu Jan 25, 2024 10:34 pm
by lazyroll
SimplSam wrote: Thu Jan 25, 2024 7:48 pm To get to see the error message you need to enable Debug Info in the settings ☰ hamburger menu.

99.9% of the time it fails because there is a non-english character in the filename or because the file is 16 bit unicode (UTF-16).
I've found the issue. So apparently it is not possible to export with layer effects on? because when I turn them off the project imports successfully, but that's just really sad. All I have is simple outer shadow and inner glow. Is there any workaround if it's not supported then? Or maybe I've missed some setting...

Re: SVG import desn't work? V14

Posted: Thu Jan 25, 2024 11:38 pm
by SimplSam
Glad you found the issue.

For effects like that, Affinity (and others) will embed a binary image within the SVG document, and the SVG Importer does not support images within SVGs (so it ignores them).

But - as it is just a binary image anyway, you can export it as PNG from Affinity and then import that.

If you look at the text of the 2 exports that you have, you will see the difference and the encoded image within the first one.

Re: SVG import desn't work? V14

Posted: Fri Jan 26, 2024 3:43 pm
by lazyroll
SimplSam wrote: Thu Jan 25, 2024 11:38 pm Glad you found the issue.

For effects like that, Affinity (and others) will embed a binary image within the SVG document, and the SVG Importer does not support images within SVGs (so it ignores them).

But - as it is just a binary image anyway, you can export it as PNG from Affinity and then import that.

If you look at the text of the 2 exports that you have, you will see the difference and the encoded image within the first one.
Thank you!