Help converting .SVG to canvas JZLIB

Canvas specific discussion

Help converting .SVG to canvas JZLIB

Postby acidan » 28 Apr 2017 19:15

Hi All

Im currently working on a surround sound project and have built a Lemur control surface for the spatialisation part the system.
For the XY panners, I have designed a simple .SVG graphic overlay to sit on top of a multiball object to visually aid with positioning of the panner.
The image size is 1014x1014,The only colour used is white with 20% opacity so that I can still see the multi ball object beneath it.

I have been trying to use .SVG to canvas JZLIB by D-Space Studios (http://d-spacestudios.com/svg2jzml.html#)
The .SVG file looks fine in the preview but unfortunately crashes the Lemur editor.

The reason for the unusually large image size is because Lemur is running on android with a 1920x1024 touchscreen.

I was hoping one of you knowledgable folks here might be able to give me some pointers on how I can get this to work as I have tried many cobinations of settings and still no cigar!

Is there anything I need to do or avoid when creating the .SVG file, I have a hunch that this could be the root of the problem.

Here is a link to the .SVG file just incase any of you would like to take a look at it.
https://www.dropbox.com/s/ol83alw3edm1hwk/speakeroverlay.zip?dl=0

Any help on this would be amazing.

All the best

Danny
acidan
Newbie
 
Posts: 27
Joined: 06 Feb 2012 13:19

Re: Help converting .SVG to canvas JZLIB

Postby schoko » 29 Apr 2017 07:23

hi,


i tried a lot of small pictures with simple layouts, and fiddled with it for hours, but i think i can't manage to convert a single one that worked...
You should ask the developer of this directly, i think a lot of people would be pleased to know more about this, especially the information(what causes lemur to crash, by the lemur developers)
would be interesting...
schoko
Newbie
 
Posts: 37
Joined: 07 Feb 2015 17:54

Re: Help converting .SVG to canvas JZLIB

Postby analog604 » 03 Jun 2017 15:57

Hi Guys,

Sorry about not seeing these messages sooner.

Danny, I tried the SVG you posted and it did crash my Lemur editor here too.

I did get it working by selecting the checkbox "Do not permit canvas fills.
If the editor crashes upon load then try this.
Also nice if you want only shape outlines."

There is a bug in Lemur that will cause it to crash upon canvas_fill after a long path made with canvas_bezierCurveTo.

So the 2nd or 3rd canvas_fill crashes it.

You can try it by un-commenting the fills one by one in the cMain.cv1.render1() script and then clicking cMain.onLoad() enable/disable flag.

Hopefully it is enough of a shape to be usable. I know how frustrating it can be when the app crashes.

Cheers
J
Dashboard gear control templates: User 112 Idx :: LModIt Lite :: SVG image converter for Lemur Canvas
analog604
Regular
 
Posts: 262
Joined: 29 Dec 2011 15:40
Location: north east, usa

Re: Help converting .SVG to canvas JZLIB

Postby analog604 » 03 Jun 2017 16:18

Here's Danny's speakeroverlay with sizing controls which can be included via the conversion website controls...

"Speaking" of which, I moved the "no fill" and "sizing controls" options to the top of the page.
8-)
J
Attachments
speakeroverlay-withSzControls.jzml
(61 KiB) Downloaded 36 times
Dashboard gear control templates: User 112 Idx :: LModIt Lite :: SVG image converter for Lemur Canvas
analog604
Regular
 
Posts: 262
Joined: 29 Dec 2011 15:40
Location: north east, usa


Return to Canvas

Who is online

Users browsing this forum: No registered users and 1 guest

cron