Export vector graphics v05

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Export vector graphics v05

Postby capellan » Mon Sep 11, 2017 12:01 am

Hi All,

This download is an update to a stack posted 10 years ago in the mail list.

This stack exports all vector graphics pasted in the first card as PDF, Adobe Ilustrator (v7) or SVG.
Please test first if you could open every type of file produced by this stack.

Before pasting your graphics, export all included graphics as PDF, Adobe Ilustrator and SVG and open these files using programs installed in your computer or tablet.

After you verify that files exported by this stack open correctly, you are ready to delete all included graphics and paste your own graphics on the first card. Report any errors, read the source code and include your own improvements. I hope that one of you become motivated enough and helps in the creation of code that exports gradients in each format (or just for svg format)

By the way, only latest Inkscape versions (0.92 and later) could edit correctly these exported svg. Previous Inkscape versions do not understand how to handle polylines and polygons...

Al

export_vector_graphics_v05.zip
Compressed stack
(58.98 KiB) Downloaded 15 times
capellan
 
Posts: 349
Joined: Wed Aug 15, 2007 11:09 pm

Re: Export vector graphics v05

Postby MaxV » Fri Sep 22, 2017 3:25 pm

Hi,
quait all mi programs get this bugged image from the SVG, also firefox:
Screenshot.jpg
Livecode Wiki: http://livecode.wikia.com
My livecode blog: http://livecodeitalia.blogspot.it
To post code use this: http://tinyurl.com/ogp6d5w
MaxV
 
Posts: 1287
Joined: Tue May 28, 2013 2:20 pm
Location: Italy

Re: Export vector graphics v05

Postby capellan » Sat Sep 23, 2017 6:36 pm

Hi Max,

I think that you found a bug! :oops:
Compare your own svg file with the svg attached to this post.
Please include the zipped svg file in a post in this forum thread
to compare with files exported correctly.

Does exporting as pdf and adobe ilustrator produce the same problem?

By the way, Which OS and Livecode version are you using?
I used LC 8.1.3 and LC 6.7.1 in Windows to create all 3 zipped
svg, pdf and ai. Svg file exported from LiveCode is editable
using Inkscape v 0.92

Al

vector2export svg output.PNG
Vector2export svg output in Firefox

vector2export_svg-pdf-ai-samples.zip
Compressed folder with sample svg, pdf and ai files exported from LiveCode
(70.21 KiB) Downloaded 1 time
capellan
 
Posts: 349
Joined: Wed Aug 15, 2007 11:09 pm


Return to Rich Media

Who is online

Users browsing this forum: No registered users and 1 guest