Skip to content

Setting gamm requires 6 fields instead of 2 #8

@RagnarVdB

Description

@RagnarVdB

The wrapper requires setting gamm to be an array of 6 numbers, whereas the example and type state the array should have 2 elements. The confusion arises because LibRaw uses a 6-element array internally, but expects only the first two fields to be set by the user. The JS API should thus require a 2-element array and leave the remaining 4 values of params.gamm unset. Currently, passing a 2-element array has no effect.

LibRaw documentation:

Sets user gamma-curve. Library user should set first two fields of gamm array:
Remaining 4 values are filled automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions