Skip to content

Commit 92a8237

Browse files
committed
Remove Python streaming example code, just use file i/o.
1 parent 90333fe commit 92a8237

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/tasks/includes/_python-read.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ try:
1010
# Create a reader from a file path.
1111
reader = c2pa.Reader.from_file("path/to/media_file.jpg")
1212

13-
# Alternatively, create a reader from a stream.
14-
stream = open("path/to/media_file.jpg", "rb")
15-
reader = c2pa.Reader("image/jpeg", stream)
16-
1713
# Print the JSON for a manifest.
1814
print("manifest store:", reader.json())
1915

0 commit comments

Comments
 (0)