Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support streaming writes for TIFF #410

Merged
merged 27 commits into from
Feb 23, 2024
Merged

Support streaming writes for TIFF #410

merged 27 commits into from
Feb 23, 2024

Conversation

mauricefisher64
Copy link
Collaborator

Changes in this pull request

Added streaming write support for TIFF based formats

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

mauricefisher64 and others added 25 commits July 27, 2022 18:58
…ff_support

* 'main' of https://github.com/contentauth/c2pa-rs: (78 commits)
  Add Exif Assertion support (#140)
  (IGNORE) Disregard grep non-zero exit status (#139)
  Prepare 0.14.0 release
  (IGNORE) Fix GH Actions logic error that is causing CI failure now (#137)
  (MINOR) Remove previously embedded manifests for remote manifests (#136)
  (MINOR) Add support for manifest removal (#123)
  Prepare 0.13.2 release
  manifest_data was missing for remote manifests (#135)
  (IGNORE) Restore cargo-semver-checks step (#129)
  Prepare 0.13.1 release
  Add ManifestStore::from_manifest_and_asset_bytes_async (#130)
  (IGNORE) Disable cargo-semver-checks step (#126)
  (IGNORE) Enforce semantic versioning requirements during PR validation and publish workflows (#124)
  Prepare 0.13.0 release
  Add RemoteManifestUrl Error, returning url (#120)
  Convert status_log error val to a string so that we can return full errors (#121)
  Report failures from remote manifest fetch (#116)
  Fast XMP extraction from PNG (#117)
  Bump MSRV to 1.59.0 (#118)
  Make sure there is  a single manifest store in the asset (#114)
  ...

# Conflicts:
#	sdk/src/error.rs
#	sdk/src/jumbf_io.rs
Clippy fixes
bug fixes
…ff_support

# Conflicts:
#	sdk/Cargo.toml
#	sdk/src/asset_handlers/mod.rs
#	sdk/src/asset_handlers/tiff_io.rs
#	sdk/src/jumbf_io.rs
#	sdk/src/store.rs
…ff_support

# Conflicts:
#	sdk/Cargo.toml
#	sdk/src/assertions/data_hash.rs
#	sdk/src/assertions/thumbnail.rs
#	sdk/src/assertions/user_cbor.rs
#	sdk/src/asset_handlers/jpeg_io.rs
#	sdk/src/ingredient.rs
#	sdk/src/store.rs
#	sdk/src/time_stamp.rs
@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2024

Codecov Report

Attention: Patch coverage is 93.47826% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 79.99%. Comparing base (adafc0c) to head (ce3c201).

Files Patch % Lines
sdk/src/asset_handlers/tiff_io.rs 93.38% 9 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #410      +/-   ##
==========================================
+ Coverage   79.93%   79.99%   +0.05%     
==========================================
  Files          79       79              
  Lines       24241    24325      +84     
==========================================
+ Hits        19378    19459      +81     
- Misses       4863     4866       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@gpeacock gpeacock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! It looks fine as it is. Eventually we may want to allow the a file system temp if file_io happens to be available. I'm saying that because eventually we shouldn't need to have the specific file based endpoints here. But I'm not yet sure when that would happen.

@mauricefisher64 mauricefisher64 merged commit 123e4de into main Feb 23, 2024
22 checks passed
@mauricefisher64 mauricefisher64 deleted the tiff_support branch February 23, 2024 19:07
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants