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/usage.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ Import the objects needed from the API:
12
12
from c2pa import Builder, Reader, Signer, C2paSigningAlg, C2paSignerInfo
13
13
```
14
14
15
+
> **Note**: Both `Builder` and `Reader` support being used as context managers (with `with` statements). It's recommended to use them with context managers to ensure proper resources and memory cleanup.
16
+
15
17
## Define manifest JSON
16
18
17
19
The Python library works with both file-based and stream-based operations.
0 commit comments