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
Copy file name to clipboardExpand all lines: docs/introduction.mdx
+4-111Lines changed: 4 additions & 111 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,11 @@ The CAI open-source SDK consist of:
22
22
- Display a report of JSON manifest data attached to an asset.
23
23
- Attach a manifest data to an asset.
24
24
- Add a manifest to to the associated manifest store if the asset already has an associated manifest data.
25
-
-[**JavaScript library**](c2pa-js/readme.md) that enables web pages to verify and read manifest data using client JavaScript. Use it to add user interface elements to your website that display manifest data while following the [C2PA user experience recommendations](https://c2pa.org/specifications/specifications/1.0/ux/UX_Recommendations.html).
26
-
-**[C/C++](c2pa-c/readme.md), [Python](c2pa-python/readme.md), [Node.js](c2pa-node/readme.md) libraries** that enable applications to read and validate manifest data, create and sign manifest data and embed it supported asset files.
25
+
-[**JavaScript library**](c2pa-js/readme.md) that enables web pages to to read, validate, create, and sign manifest data, and embed it in supported asset files using client JavaScript. Use it to add user interface elements to your website that display manifest data while following the [C2PA user experience recommendations](https://c2pa.org/specifications/specifications/1.0/ux/UX_Recommendations.html).
26
+
-**[C/C++](c2pa-c/readme.md), [Python](c2pa-python/readme.md), [Node.js](c2pa-node/readme.md) libraries** that enable applications to read and validate manifest data, create and sign manifest data, and embed it supported asset files.
27
27
-[**Mobile libraries**](mobile.md) that enable mobile applications for iOS and Android to to read and generate manifest data.
28
28
-[**The Rust library**](rust-sdk/readme.md) that generates the other language bindings and can also be used directly to read and generate manifest data. The Rust library is the fundamental system underlying everything else.
29
29
30
-
To see a summary of what each tool and library can do, see [Which tool is right for you?](#which-tool-is-right-for-you).
31
-
32
30
The following diagram provides a high-level view of the SDK.
33
31
34
32
<imgsrc={cai_open_source}width="800" />
@@ -37,8 +35,7 @@ The following diagram provides a high-level view of the SDK.
37
35
38
36
Applications can use the CAI SDK in several different ways:
39
37
40
-
- Web pages can use the JavaScript library to display Content Credentials.
41
-
- Applications written in C++, Python, or Node.js can use the corresponding language libraries to:
38
+
- Applications written in C++, Python, Node.js, or client JavaScript can use the corresponding language libraries to:
42
39
- Create, modify, and sign manifests.
43
40
- Embed manifests into media files.
44
41
- Parse and validate manifests.
@@ -47,111 +44,7 @@ Applications can use the CAI SDK in several different ways:
47
44
48
45
Native applications can also use Rust's _Foreign Function Interface_ (FFI) to call functions in the Rust library. The FFI enables interoperability between Rust and code written in other languages. For example, a Windows application can use the FFI to call Rust functions from languages such as C++ or C#. For an example, see the [c2c2pa repository](https://github.com/contentauth/c2c2pa).
49
46
50
-
An embedded application can use the Rust FFI (foreign function interface) to call Rust functions from languages such as C or C++, similarly to a native application. Embedded applications have unique constraints tied to the devices on which they run, including small memory footprint, low-powered hardware, intermittent network access, unique operating systems, or the lack of an operating system OS (running on bare metal). For these reasons, if you want to develop a CAI-enabled embedded application, please contact the CAI team directly.
<tdstyle={{ textAlign: 'left' }}>Write C2PA data into files</td>
103
-
<tdstyle={{ textAlign: 'center' }}></td>
104
-
<tdstyle={{ textAlign: 'center' }}>
105
-
<imgsrc={green_check}width="30" />
106
-
</td>
107
-
<tdstyle={{ textAlign: 'center' }}>
108
-
<imgsrc={green_check}width="30" />
109
-
</td>
110
-
<tdstyle={{ textAlign: 'center' }}>
111
-
<imgsrc={green_check}width="30" />
112
-
</td>
113
-
</tr>
114
-
<tr>
115
-
<tdstyle={{ textAlign: 'left' }}>
116
-
Quickly create and inspect C2PA data
117
-
</td>
118
-
<tdstyle={{ textAlign: 'center' }}></td>
119
-
<tdstyle={{ textAlign: 'center' }}>
120
-
<imgsrc={green_check}width="30" />
121
-
</td>
122
-
<tdstyle={{ textAlign: 'center' }}>
123
-
<imgsrc={green_check}width="30" />
124
-
</td>
125
-
<tdstyle={{ textAlign: 'center' }}>
126
-
<imgsrc={green_check}width="30" />
127
-
</td>
128
-
</tr>
129
-
<tr>
130
-
<tdstyle={{ textAlign: 'left' }}>
131
-
Customize displaying and creating C2PA data
132
-
</td>
133
-
<tdstyle={{ textAlign: 'center' }}></td>
134
-
<tdstyle={{ textAlign: 'center' }}></td>
135
-
<tdstyle={{ textAlign: 'center' }}>
136
-
<imgsrc={green_check}width="30" />
137
-
</td>
138
-
<tdstyle={{ textAlign: 'center' }}>
139
-
<imgsrc={green_check}width="30" />
140
-
</td>
141
-
</tr>
142
-
<tr>
143
-
<tdstyle={{ textAlign: 'left' }}>Deploy on web, mobile, and desktop</td>
144
-
<tdstyle={{ textAlign: 'center' }}></td>
145
-
<tdstyle={{ textAlign: 'center' }}></td>
146
-
<tdstyle={{ textAlign: 'center' }}>
147
-
<imgsrc={green_check}width="30" />
148
-
</td>
149
-
<tdstyle={{ textAlign: 'center' }}>
150
-
<imgsrc={green_check}width="30" />
151
-
</td>
152
-
</tr>
153
-
</tbody>
154
-
</table>
47
+
An embedded application can use the Rust FFI (foreign function interface) to call Rust functions from languages such as C or C++, similarly to a native application. Embedded applications have unique constraints tied to the devices on which they run, including small memory footprint, low-powered hardware, intermittent network access, unique operating systems, or the lack of an operating system OS (running on bare metal). For these reasons, if you want to develop an embedded application, please contact the CAI team directly.
0 commit comments