Exporting graphics

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
marksmithhfx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 931
Joined: Thu Nov 13, 2008 6:48 am

Exporting graphics

Post by marksmithhfx » Sun Dec 06, 2015 6:28 am

If you make a compound graphic object in LC, say a rectangle and some colored text box and group them together, can you export this from LC? If you can, what formats can you export as? I was hoping to use LC to create a splash screen but it must be in .png format (this is for iOS). Thanks for you help.

Mark
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Exporting graphics

Post by Dixie » Sun Dec 06, 2015 6:56 am

Read 'Export Snapshot' in the dictionary...

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10100
Joined: Fri Feb 19, 2010 10:17 am

Re: Exporting graphics

Post by richmond62 » Sun Dec 06, 2015 9:56 am

export snapshot from group "XXX" to file "XXX.png" as PNG

and the picture will end up in your default folder.

Frankly writing that line saves you the time of
having to look up 'export snapshot' in the dictionary.

You can also export from a defined rectangle . . .

Randy Hengst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 157
Joined: Thu Jun 29, 2006 4:16 pm

Re: Exporting graphics

Post by Randy Hengst » Wed Dec 09, 2015 8:25 pm

You can take a screen shot from within the iOS simulator (command S). You might find that to be an easier way to create your splash screen.

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Exporting graphics

Post by Dixie » Wed Dec 09, 2015 10:00 pm

Frankly writing that line saves you the time of
having to look up 'export snapshot' in the dictionary.

You can also export from a defined rectangle . . .
No explanation about that little gem... might as well read what the dictionary has to say about 'export snapshot' then, eh !... Save time in the long run !

Post Reply