Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add GIF support #489

Merged
merged 34 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
17c18c2
Implement foundation for GIF support
ok-nick Jun 20, 2024
29d80a7
Fix and test reading GIF
ok-nick Jun 20, 2024
cf7f30d
WIP GIF writing
ok-nick Jun 20, 2024
8440402
Fix GIF parser test cases
ok-nick Jun 21, 2024
1f30d11
Functional GIF writing
ok-nick Jun 21, 2024
e8bc37e
Add GIF remove block
ok-nick Jun 21, 2024
6a4a724
Add GIF read xmp
ok-nick Jun 21, 2024
0ae18ce
Add GIF asset patch and hash object locations
ok-nick Jun 21, 2024
1df2a7b
Merge remote-tracking branch 'origin/main' into ok-nick/gif
ok-nick Jun 21, 2024
978e48b
Add optional functions to AssetIO
ok-nick Jun 21, 2024
3a1969f
Add GIF remote XMP writer and composed data
ok-nick Jun 21, 2024
ad2b5f0
Foundation for parsing full GIF
ok-nick Jun 21, 2024
0d52cef
Refactor GIF, parse all blocks incrementally, add box hash support, etc.
ok-nick Jun 28, 2024
ce4e4f4
Optimize GIF, encode input bytes, and add more tests cases
ok-nick Jun 28, 2024
3e8291d
Fix GIF encoding bytes
ok-nick Jun 28, 2024
b83e8d9
Merge remote-tracking branch 'origin' into ok-nick/gif
ok-nick Jun 28, 2024
29915cc
Use rename_to_move in GIF
ok-nick Jun 28, 2024
e9a2b70
Add XMP magic trailer for GIF, add XMP unit test, and refactor
ok-nick Jul 1, 2024
1e0de5d
Remove allow dead code for GIF
ok-nick Jul 1, 2024
20f430f
Use C2PA_BOXHASH name for C2PA block in GIF and adjust preallocation
ok-nick Jul 1, 2024
ec29e37
Preallocate C2PA block for data hash, use spec-compliant box hash map…
ok-nick Jul 2, 2024
de5fa98
Fix GIF 87a to 89a auto-migration
ok-nick Jul 2, 2024
18a34d9
Predict data hash locatis when C2PA block missing in GIF
ok-nick Jul 2, 2024
3b4d66f
Fix data hash prediction offset for GIF
ok-nick Jul 2, 2024
0ef7766
Simplify block parsing iterator for GIF
ok-nick Jul 2, 2024
f2a5fed
Add GIF support to README
ok-nick Jul 2, 2024
715c8de
Adjust GIF pre-allocations
ok-nick Jul 8, 2024
309a42b
Add GIF sanity checks in unit tests
ok-nick Jul 8, 2024
02e88d2
Remove duplicate GIF unit test
ok-nick Jul 9, 2024
f3a3f02
Merge remote-tracking branch 'origin' into ok-nick/gif
ok-nick Jul 9, 2024
1492e2f
Insert placeholder C2PA box map for GIF box hashing
ok-nick Jul 10, 2024
a99b6f3
Remove names for unnamed GIF box maps in spec
ok-nick Jul 12, 2024
af1f4f3
Merge branch 'main' into ok-nick/gif
ok-nick Jul 16, 2024
d3174ff
Merge branch 'main' into ok-nick/gif
gpeacock Jul 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ The library has been tested on the following operating systems:
| `tif`,`tiff` | `image/tiff` |
| `wav` | `audio/wav` |
| `webp` | `image/webp` |
| `gif` | `image/gif` |

## Usage

Expand Down
Loading
Loading