OBJ Binary Embedded Object
Embedded images and files on the page, which can be downloaded as attachments or displayed directly (decided by EDA, not required by the format).
json
{ "type": "OBJ", "id": "UUID", "ticket": 1 }||
{
"partId": "",
"groupId": 0,
"locked": false,
"zIndex": 9.0876,
"fileName": "a.txt",
"startX": 200,
"startY": 300,
"width": 10,
"height": 20,
"rotation": 0,
"isMirror": false,
"content": "data:text/plain;base64,MTIzNA==",
}|1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- type binary embedded object identifier: OBJ.
- id ID, unique within the file.
- ticket logical clock.
- partId sub-library ID, exclusive to symbol pages; ignored on schematics.
- groupId group ID, cannot be 0, empty by default when none.
- locked whether locked.
- zIndex Z-axis height.
- fileName file name.
- startX top-left X.
- startY top-left Y.
- width width.
- height height.
- rotation rotation angle, around
top-left. - isMirror whether mirrored.
- content binary data, two modes.
- General format, compatible with
Data URLs:data:[<mediatype>][;base64],<data>- e.g.
data:image/png;base64,asdfasdfwer - e.g.
data:text/html,<html></html>
- e.g.
- BLOB reference mode,
blob:hashid.
- General format, compatible with