New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decode leica barcode #155
Comments
Argh, I hadn't realized the barcode was a Base64-encoded string. Thanks for the report. Fixing this will break compatibility with applications using that property. The alternatives are worse (adding Also, update the website to document that older versions Base64-encode the property. |
I personnally like the my 2cts |
I'm not sure I understand your point. If the QR code is stored as pixels, we would expose it in the In any event, |
Also, you said:
Do you have evidence that the 2010/03/10 namespace doesn't also Base64-encode the barcode? |
Without specifications or actual dataset I cannot answer. I simply assumed that barcode was encoded in base64 (which proved correct so far for the 2010 ns one). |
The terminology I used for |
OK, thanks for the clarifications. |
Fixed for |
It would be nice if the barcode from leica (*.scn) would be decoded (much easier to read).
Eg:
$ tiffinfo Leica-1.scn| grep barcode
MDQwNTA2MjlD
$ echo MDQwNTA2MjlD | base64 -d
04050629C%
The following line would need to be adapted:
// Get barcode as stored in 2010/10/01 namespace
collection->barcode = _openslide_xml_xpath_get_string(ctx, "/d:scn/d:collection/d:barcode/text()");
Thanks !
The text was updated successfully, but these errors were encountered: