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 the wrong calculation of bitDepth of HEIF encoding for non-alpha image, compatbile for libheif 1.5.0 #14

Merged
merged 1 commit into from
Aug 18, 2019

Conversation

dreampiggy
Copy link
Collaborator

There is a bug in SDWebImageHEIFCoder, when using libheif-1.5.0

The bits per pixel for non-alpha image should set to 24, not 32. Which works previouslly in 1.4.0, but not in 1.5.0

This PR fix this issue.

@dreampiggy dreampiggy changed the title Fix the wrong calculation of HEIF encoding, for non-alpha image Fix the wrong calculation of bitDepth of HEIF encoding for non-alpha image, compatbile for libheif 1.5.0 Aug 18, 2019
@dreampiggy dreampiggy merged commit f06cfa5 into master Aug 18, 2019
@dreampiggy dreampiggy added the fix label Aug 18, 2019
@dreampiggy dreampiggy deleted the bugfix_encoding_bits_depth branch August 18, 2019 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant