Skip to content

Conversation

captainwong
Copy link

I've test it, origin code will generate a bad image.

Github had automatically converted source code's encoding from GB18030 to UTF8.

Valid change is line 177:
origin:
*(data+i)= *data&mask + div/2;
change to:
*(data+i)= *(data+1)&mask + div/2;

I've test it, origin code will generate a bad image.
@captainwong captainwong changed the title fix colorReduce5 fix colorReduce4 Apr 24, 2017
Comment abundant & error process, changed line 278, 289.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant