You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
datauri syntax can be rather limiting. What if you want to split the string over multiple tags? What about adding compression? What if the encoding is in binary?
Once you are storing raw binary data in a data: uri I'm not sure any other application will be able to process it, and I'd question the choice to still use the structure of the data: uri here if something else might better do the job. But they'd work.
Note that zxing can be used to process out-of-order structured append codes if you process the SA information by hand from the raw data. But it will not generate them yet.
The use of uri. At least for the first QR code you scan, is for the convenience of activating the program from zxing barcode scanner (which would be more convenient than having to open tagdrop or qrstream to scan the same code initially) . The actual binary data can be stored as normal in subsequent QR codes (tho how to work out the order would be a bit of an issue, unless we are relying on users to scan properly in sequence).
But yea, I am leaning towards just baking our own standard. What do you think about using the word "MANIFEST:" as the trigger word for zxing barcode reader to open our program, and storing the settings as a json data structure (unless you have a different idea)?
p.s. For structured append, I guess we have to assume users won't know how to generate it. So having the manifest QR code store a sequence of truncated hashes (e.g. md5:[h242,j42j34,53aj]) or optionally for text, a sequence of the first few characters of each barcode sequence (e.g. seq:["#section1","#section2"]) could be more manageable and transparent.
datauri syntax can be rather limiting. What if you want to split the string over multiple tags? What about adding compression? What if the encoding is in binary?
The general syntax is
We can extend by including:
[;compress=<compressionScheme>]
;base64&lzma
[;bin8=x<binarySizeInHex>]
OR[;bin8=<binarySizeInInt>]
;octal=
instead? Would that be a more accurate wording?[;crc8Seq=234&23&34&53&423&23&4]
[;seq=<seqNum>of<totalInSeq>]
[;id=<numberOrLetters>]
[;filename=<filename>]
So via these extensions, we could make data uri do double duty as a manifest perhaps;
The text was updated successfully, but these errors were encountered: