Source code for 'Flower.jpg'?
-
- Posts: 10
- Joined: Mon Apr 20, 2015 2:59 pm
- My devices: iPad air 2
iPhone 6+
iPod Touch (latest)
Source code for 'Flower.jpg'?
Is the source code for the example program 'flower.jpg' listed some place. I need clarification on how to embed photos in the the program rather than using the Dropbox, and the file format to be used. Even using the Dropbox, all of my photos keep getting rejected with a 'Unsupported file format' error. What I am trying to do is have a series of canned (stored) images that the user can select from (with thumbnails if possible) that will become the background layer and a simple program like paint.txt that will allow him to annotate it in the foreground layer.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Source code for 'Flower.jpg'?
I am not sure I understood your concern, but example program which uses "Flower.jpg" image is "pages.txt" in Interactive Interface section.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Source code for 'Flower.jpg'?
If you have problems using your images, then please post a simple example of your code which rejects your image.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Source code for 'Flower.jpg'?
Smart BASIC uses Dropbox cloud storage for files transfer.
Please read documentation, section Notes about activating Dropbox.
Please read documentation, section Notes about activating Dropbox.
-
- Posts: 10
- Joined: Mon Apr 20, 2015 2:59 pm
- My devices: iPad air 2
iPhone 6+
iPod Touch (latest)
Re: Source code for 'Flower.jpg'?
I still can't figure out how to move files from the Dropbox to the local file area. I can enable the option and get the dropbox icon in the bottom menu bar. I set it with the arrow pointing from the cloud to local. What's next?
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Source code for 'Flower.jpg'?
Just copy/paste files between Dropbox and smart BASIC.Transco wrote:I still can't figure out how to move files from the Dropbox to the local file area. I can enable the option and get the dropbox icon in the bottom menu bar. I set it with the arrow pointing from the cloud to local. What's next?
-
- Posts: 10
- Joined: Mon Apr 20, 2015 2:59 pm
- My devices: iPad air 2
iPhone 6+
iPod Touch (latest)
Re: Source code for 'Flower.jpg'?
How do I list the directory of the dropbox so I can choose a file to copy?
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Source code for 'Flower.jpg'?
You don't need to list anything.
When you tap Dropbox icon (bottom right icon) in the files table, you enter Dropbox.
Here you can select/copy/paste files you need.
Then with the same button you can return to Local files storage to select/copy/paste files.
When you tap Dropbox icon (bottom right icon) in the files table, you enter Dropbox.
Here you can select/copy/paste files you need.
Then with the same button you can return to Local files storage to select/copy/paste files.
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Source code for 'Flower.jpg'?
On my display it is the bottom right iconMr. Kibernetik wrote: When you tap Dropbox icon (bottom left icon) in the files table ……
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Source code for 'Flower.jpg'?
Yes, of course bottom RIGHT !!!Dutchman wrote:On my display it is the bottom right iconMr. Kibernetik wrote: When you tap Dropbox icon (bottom left icon) in the files table ……