SVG or EPS or PDF (vector) export?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
DevBoyLars
Posts: 216
Joined: Wed Feb 27, 2013 9:04 pm

SVG or EPS or PDF (vector) export?

Post by DevBoyLars » Wed Apr 17, 2013 12:28 am

Hi there,
is it possible to build an App, which lets the user 'paint' something on the card and export this into a SVG-/EPS-/PDF(vector)-file?

DevBoyLars
Posts: 216
Joined: Wed Feb 27, 2013 9:04 pm

Re: SVG or EPS or PDF (vector) export?

Post by DevBoyLars » Sat Apr 20, 2013 6:30 pm

No one can help me?

PBH
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 129
Joined: Sun Feb 20, 2011 4:26 pm
Location: Vancouver Island, BC, Canada. ex.UK
Contact:

Re: SVG or EPS or PDF (vector) export?

Post by PBH » Mon Apr 22, 2013 5:11 am

SVG - No, EPS - Only on Linux I believe, but PDF works provided the vectors were created in LC. See "open printing to pdf" in the dictionary.

AFAIK it isn't possible to convert a "paint" image to vectors in LC without a great deal of scripting, but I may be wrong! I'd be interested too if there is an easy way.

Paul

DevBoyLars
Posts: 216
Joined: Wed Feb 27, 2013 9:04 pm

Re: SVG or EPS or PDF (vector) export?

Post by DevBoyLars » Mon Apr 22, 2013 10:45 am

Hi Paul,
so if my App would draw lines/boxes on a card and this card will print to PDF, this PDF contains vectors and not a (to) bitmap-converted graphic?

PBH
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 129
Joined: Sun Feb 20, 2011 4:26 pm
Location: Vancouver Island, BC, Canada. ex.UK
Contact:

Re: SVG or EPS or PDF (vector) export?

Post by PBH » Tue Apr 23, 2013 1:03 am

Yes, that's correct.

I only did a quick test, but the PDF imported into Illustrator with all vectors intact, no sign of any bitmaps.

Paul

DevBoyLars
Posts: 216
Joined: Wed Feb 27, 2013 9:04 pm

Re: SVG or EPS or PDF (vector) export?

Post by DevBoyLars » Tue Apr 23, 2013 10:47 am

Perfect! Thank you Paul!

PBH
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 129
Joined: Sun Feb 20, 2011 4:26 pm
Location: Vancouver Island, BC, Canada. ex.UK
Contact:

Re: SVG or EPS or PDF (vector) export?

Post by PBH » Tue Apr 23, 2013 4:07 pm

You're welcome, I learnt something new too.

Paul

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”