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
Exporting graphics
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
Exporting graphics
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS
Re: Exporting graphics
Read 'Export Snapshot' in the dictionary...
-
- Livecode Opensource Backer
- Posts: 10100
- Joined: Fri Feb 19, 2010 10:17 am
Re: Exporting graphics
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 . . .
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 . . .
-
- VIP Livecode Opensource Backer
- Posts: 157
- Joined: Thu Jun 29, 2006 4:16 pm
Re: Exporting graphics
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.
Re: Exporting graphics
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 !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 . . .