-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Delay byte calculation #10
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would you mind sharing more detail about how you came up with the calculation of the delay time low/high byte?
buffer[4] = (byte) (delay / 10 % 0x100); // Delay time low byte
buffer[5] = (byte) (delay / 10 / 0x100); // Delay time high byte
I tested delay values between 1 and 100 where 1 should produce the fastest and 100 the slowest GIF. However, it seems the lowest possible value is 20. Values below 20 are producing a slower result than values between 20 and 99.
Do you have any clue why that is?
The text was updated successfully, but these errors were encountered: