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

Fix/support libavif v0.7.3 #20

Merged
merged 4 commits into from
May 14, 2020
Merged

Fix/support libavif v0.7.3 #20

merged 4 commits into from
May 14, 2020

Conversation

ledyba-z
Copy link
Collaborator

@ledyba-z ledyba-z commented May 13, 2020

It may resolve #19

Some constants about colors has been renamed in libavif v0.7.3, so I replaced them.

TODO

Currently, we are discussing how should we treat ICC profile (and libavif was released with breaking changes).

In here: AOMediaCodec/av1-avif#84

So some image with ICC profile can't be decoded "correctly" now, but it looks a little difficult to resolve soon, so I left as TODO and will make an issue ( #21 ).

@ledyba-z ledyba-z requested a review from dreampiggy May 13, 2020 17:11
@ledyba-z ledyba-z self-assigned this May 13, 2020
@ledyba-z ledyba-z added the bug Something isn't working label May 13, 2020
@ledyba-z ledyba-z marked this pull request as draft May 13, 2020 17:25
@codecov
Copy link

codecov bot commented May 13, 2020

Codecov Report

Merging #20 into master will increase coverage by 0.73%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   85.27%   86.01%   +0.73%     
==========================================
  Files           6        6              
  Lines        1494     1494              
==========================================
+ Hits         1274     1285      +11     
+ Misses        220      209      -11     
Impacted Files Coverage Δ
SDWebImageAVIFCoder/Classes/ColorSpace.m 84.97% <100.00%> (ø)
Example/SDWebImageAVIFCoder/SDViewController.m 88.88% <0.00%> (+40.74%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 08ca46f...a3c8104. Read the comment docs.

@ledyba-z ledyba-z marked this pull request as ready for review May 13, 2020 18:23
@ledyba-z
Copy link
Collaborator Author

How about releasing new version after this PR is merged?

@dreampiggy dreampiggy merged commit 2f86c21 into master May 14, 2020
@dreampiggy
Copy link
Collaborator

Good work. Thanks.

@dreampiggy dreampiggy deleted the fix/support-libavif-v0.7.3 branch May 14, 2020 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some constants be changed in avif header?
2 participants