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

Add spline support to jxl_from_tree #247

Merged
merged 1 commit into from
Jun 29, 2021

Conversation

sboukortt
Copy link
Member

Example image (produces the same image as
third_party/testdata/jxl/splines.png):

Width 320
Height 320
XYB

Spline
    0.03125 0.00625 0.003125 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    1 0.321875 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    1 0.24375 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    0.3125 0 0 0.0625 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    9 54
    118 159
    97 3
    10 40
    150 25
    120 300
EndSpline

- Set 0

Example image (produces the same image as
`third_party/testdata/jxl/splines.png`):

    Width 320
    Height 320
    XYB

    Spline
        0.03125 0.00625 0.003125 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
        1 0.321875 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
        1 0.24375 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
        0.3125 0 0 0.0625 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
        9 54
        118 159
        97 3
        10 40
        150 25
        120 300
    EndSpline

    - Set 0
@jonsneyers
Copy link
Member

Cool!

@sboukortt sboukortt merged commit 67fa874 into libjxl:main Jun 29, 2021
@sboukortt sboukortt deleted the splines-in-jxl_from_tree branch September 16, 2021 10:31
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.

None yet

2 participants