Open captainwong opened 7 years ago
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.
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;