Eyeglass file format (Ross Spencer)
From Just Solve the File Format Problem
(Difference between revisions)
Ross-spencer (Talk | contribs) m (Updated http to https) |
Ross-spencer (Talk | contribs) (Add Wikidata and fix spelling) |
||
(One intermediate revision by one user not shown) | |||
Line 3: | Line 3: | ||
|subcat=Health and Medicine | |subcat=Health and Medicine | ||
|extensions={{ext|eygl}} | |extensions={{ext|eygl}} | ||
+ | |wikidata={{wikidata|Q105858419}} | ||
}} | }} | ||
The '''Eyeglass file format''' is an example file format developed by digital preservation researcher Ross Spencer to illustrate the process of creating file formats. It is not known to have been put to any actual use in the optical industry, but might be capable of doing so, as it encodes the standard pieces of information which are part of an eyeglass prescription. | The '''Eyeglass file format''' is an example file format developed by digital preservation researcher Ross Spencer to illustrate the process of creating file formats. It is not known to have been put to any actual use in the optical industry, but might be capable of doing so, as it encodes the standard pieces of information which are part of an eyeglass prescription. | ||
Line 8: | Line 9: | ||
Spencer wrote a blog post explaining the choices that went into devising the file format, and created a Github site hosting some [[Python]] code and a sample data file. | Spencer wrote a blog post explaining the choices that went into devising the file format, and created a Github site hosting some [[Python]] code and a sample data file. | ||
− | == File | + | == File identification == |
Files begin with the hex bytes <code>BB 0D 0A 65 79 65 67 6C 61 73 73 1A 0A AB</code>, and ends with <code>BB 65 6f 66</code>. | Files begin with the hex bytes <code>BB 0D 0A 65 79 65 67 6C 61 73 73 1A 0A AB</code>, and ends with <code>BB 65 6f 66</code>. | ||
Line 18: | Line 19: | ||
* [https://exponentialdecay.co.uk/blog/genesis-of-a-file-format/ Genesis of a file format] | * [https://exponentialdecay.co.uk/blog/genesis-of-a-file-format/ Genesis of a file format] | ||
* [https://github.com/ross-spencer/eyeglass Github site] | * [https://github.com/ross-spencer/eyeglass Github site] | ||
+ | * [https://exponentialdecay.co.uk/blog/shattering-the-eyeglass/ Shattering the Eyeglass: Using Kaitai Structs to dissect the eyeglass’ contents] |
Latest revision as of 12:51, 6 February 2025
The Eyeglass file format is an example file format developed by digital preservation researcher Ross Spencer to illustrate the process of creating file formats. It is not known to have been put to any actual use in the optical industry, but might be capable of doing so, as it encodes the standard pieces of information which are part of an eyeglass prescription.
Spencer wrote a blog post explaining the choices that went into devising the file format, and created a Github site hosting some Python code and a sample data file.
[edit] File identification
Files begin with the hex bytes BB 0D 0A 65 79 65 67 6C 61 73 73 1A 0A AB
, and ends with BB 65 6f 66
.