We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 208f0f1 commit e0ea50fCopy full SHA for e0ea50f
README.md
@@ -154,9 +154,9 @@ try:
154
c2pa_data = builder.sign_file(signer, "tests/fixtures/A.jpg", "target/out.jpg")
155
156
# Or we can sign the builder with a stream and output it to a stream
157
- a_jpg_stream = open("tests/fixtures/A.jpg", "rb")
158
- out_stream = open("tests/fixtures/A.jpg", "wb")
159
- c2pa_data = builder.sign(signer, "image/jpeg", a_jpg_stream, out_stream)
+ input_stream = open("tests/fixtures/A.jpg", "rb")
+ out_stream = open("target/out.jpg", "wb")
+ c2pa_data = builder.sign(signer, "image/jpeg", input_stream, out_stream)
160
161
except Exception as err:
162
print(err)
0 commit comments