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

Update generateLut.js #572

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Dec 20, 2021

  1. Update generateLut.js

    On Ipad, Mac (Chrome, FF)
    After function vlutfn(mlutfn(storedValue)) we got result like 0.99609375 or 1.9921875. Result must be int (variable lut is Uint8ClampedArray). Most of time we got round 0.99609375 to 1 and 1.9921875 to 2. But sometimes we got 0.99609375 to 0 and 1.9921875 to 1.
    Math.round fix this problem.
    tapin13 authored Dec 20, 2021
    Configuration menu
    Copy the full SHA
    e6dd23a View commit details
    Browse the repository at this point in the history