DATA_viaJPG for multiple files
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
DATA_viaJPG for multiple files
The functions for transfer of data via JPG-files from viewtopic.php?f=20&t=1888 have been extended with find and select functions in order to simplify handling of multiple files.
Programs and function libs are collected in the folder DATA_viaJPG.
The folder DATA_viaJPG can be downloaded from https://www.dropbox.com/sh/vkzgbjq4johu ... jfusa?dl=0
The find and select functions originate from viewtopic.php?f=20&t=1530 with a specific function for the buttons.
After selection of multiple files the button "Done" will start the process.
The process is logged to the screen and to the file "processed.info'.
20180723
• Some small errors and imperfections have been repaired. The DropBox folder "DATA_viaJPG" (https://bit.ly/2uK3blF) has been updated.
• In addition, a variant has been created in which the data is stored within the image description in COM (comment) segment(s). It can be found on Dropbox in the folder "DATA_viaJPGcom" (https://bit.ly/2uLwSTi)
Programs and function libs are collected in the folder DATA_viaJPG.
The folder DATA_viaJPG can be downloaded from https://www.dropbox.com/sh/vkzgbjq4johu ... jfusa?dl=0
The find and select functions originate from viewtopic.php?f=20&t=1530 with a specific function for the buttons.
After selection of multiple files the button "Done" will start the process.
The process is logged to the screen and to the file "processed.info'.
20180723
• Some small errors and imperfections have been repaired. The DropBox folder "DATA_viaJPG" (https://bit.ly/2uK3blF) has been updated.
• In addition, a variant has been created in which the data is stored within the image description in COM (comment) segment(s). It can be found on Dropbox in the folder "DATA_viaJPGcom" (https://bit.ly/2uLwSTi)
Last edited by Dutchman on Fri Jan 20, 2023 12:09 pm, edited 6 times in total.
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: DATA_viaJPG for multiple files
The 'Find and process.sb' program is quitting with 'path/file not found' errors during processing. I installed the DATA_viaJPG folder in my folder "Selected Utilities", located at the the root of my Smart Basic drive. I first tried processing the Example.sb file in the DATA_viaJPG folder. On the second try, I used your back arrow key to move up to the Selected Utilities folder and selected some files from it. In both cases I got the error. Attached are the screenshots.
There is no DATA_JPG folder inside the DATA_viaJPG folder, although I can see in the error messages that the program is trying to read data jpgs from it. Apparently the program should have created it and saved the data jpgs there, but it didn't.
There is no DATA_JPG folder inside the DATA_viaJPG folder, although I can see in the error messages that the program is trying to read data jpgs from it. Apparently the program should have created it and saved the data jpgs there, but it didn't.
- Attachments
-
- IMG_2613.PNG (3.31 MiB) Viewed 4854 times
-
- IMG_2614.PNG (3.31 MiB) Viewed 4854 times
Last edited by rbytes on Mon Aug 14, 2017 3:24 am, edited 3 times in total.
The only thing that gets me down is gravity...
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: DATA_viaJPG for multiple files
I just tried moving the DATA_viaJPG folder to the Smart Basic root drive. I still get the same errors. Maybe there is some component missing?
The only thing that gets me down is gravity...
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: DATA_viaJPG for multiple files
The error-message "Error reading file …" should have been "Error writing file …"
Folders are not automatically created. So files are not written if the location doesn't exist.
So the folders DATA_JPG and DATA_Extract should be present.
I added them to the DropBox-folder.
Folders are not automatically created. So files are not written if the location doesn't exist.
So the folders DATA_JPG and DATA_Extract should be present.
I added them to the DropBox-folder.
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: DATA_viaJPG for multiple files
It is all working very well now. Thanks, Ton.
The only thing that gets me down is gravity...
- GeorgeMcGinn
- Posts: 435
- Joined: Sat Sep 10, 2016 6:37 am
- My devices: IPad Pro 10.5in
IMac
Linux i386
Windows 7 & 10 - Location: Venice, FL
- Flag:
- Contact:
Re: DATA_viaJPG for multiple files
Hi, the link gets a message that says it no longer exists.
Can you provide another one?
Can you provide another one?
Dutchman wrote: ↑Sun Aug 13, 2017 2:51 pmThe functions for transfer of data via JPG-files from viewtopic.php?f=20&t=1888 have been extended with find and select functions in order to simplify handling of multiple files.
Programs and function libs are collected in the folder DATA_viaJPG.
The folder DATA_viaJPG can be downloaded from https://www.dropbox.com/sh/b5e4vk9eo8mh ... LgjUa?dl=0
The find and select functions originate from viewtopic.php?f=20&t=1530 with a specific function for the buttons.
After selection of multiple files the button "Done" will start the process.
The process is logged to the screen and to the file "processed.info'.
screenshots.PNG
George McGinn
Computer Scientist/Cosmologist/Writer/Photographer
Member: IEEE, IEEE Computer Society
IEEE Sensors Council & IoT Technical Community
American Association for the Advancement of Science (AAAS)
Computer Scientist/Cosmologist/Writer/Photographer
Member: IEEE, IEEE Computer Society
IEEE Sensors Council & IoT Technical Community
American Association for the Advancement of Science (AAAS)
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: DATA_viaJPG for multiple files
I don't understand how that happened. The link is active again.GeorgeMcGinn wrote: ↑Tue Aug 15, 2017 8:30 amHi, the link gets a message that says it no longer exists.
Can you provide another one?
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: DATA_viaJPG for multiple files
As always, your code is very elegant. In particular, the routine you use for creating the buttons is very efficient, and I would like to adapt it for my next project.
The only thing that gets me down is gravity...
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: DATA_viaJPG for multiple files
I decided to see if I could use your MakeInstall and DATA_viaJPG programs together to transfer GigBook entries between my iPad and my iPhone X. The idea works when I test the process on my iPad.
First I run MakeInstall and generate the three files needed to store and regenerate the folder "gigbook-data".
Now I run DATA_viaJPG and select those three files. It creates 3 JPGs containing the data for those files and stores them in folder "DATA_JPG"
I run DATA_viaJPG again, navigate to "DATA_JPG" and select the three JPGs one-by-one. it extracts and saves the three original MakeInstall files to the folder DATA_Extract.
Finally I enter the folder and run "Install-gigbook-data.sb"
My "gigbook-data" folder appears.
So far so good.
Now to transfer the JPGs to my iPhone X. I made this short program (located in the DATA_JPG folder) to export them to the Camera Roll:
And this program to run on my iPhone to import them into DATA_JPG:
When I run it, I have to manually select the photos, but since they are identified with text I have no problem selecting them in the right order.
And here is where things go sideways.
When I run DATA_viaJPG and select those three JPGs, somehow they have lost their data! The attached image shows the error messages.
First I run MakeInstall and generate the three files needed to store and regenerate the folder "gigbook-data".
Now I run DATA_viaJPG and select those three files. It creates 3 JPGs containing the data for those files and stores them in folder "DATA_JPG"
I run DATA_viaJPG again, navigate to "DATA_JPG" and select the three JPGs one-by-one. it extracts and saves the three original MakeInstall files to the folder DATA_Extract.
Finally I enter the folder and run "Install-gigbook-data.sb"
My "gigbook-data" folder appears.
So far so good.
Now to transfer the JPGs to my iPhone X. I made this short program (located in the DATA_JPG folder) to export them to the Camera Roll:
Code: Select all
ALBUM EXPORT "DATA_Install-gigbook-data.sb.JPG"
ALBUM EXPORT "DATA_gigbook-data.archive.JPG"
ALBUM EXPORT "DATA_gigbook-data.contents.JPG"
Code: Select all
ALBUM IMPORT "DATA_Install-gigbook-data.sb.JPG"
ALBUM IMPORT "DATA_gigbook-data.archive.JPG"
ALBUM IMPORT "DATA_gigbook-data.contents.JPG"
And here is where things go sideways.
When I run DATA_viaJPG and select those three JPGs, somehow they have lost their data! The attached image shows the error messages.
- Attachments
-
- 3CF89005-482E-4416-84E4-E3A0598119B4.jpeg (467.81 KiB) Viewed 4537 times
The only thing that gets me down is gravity...