Skip to content

Cannot set int array option (gamma-table) #69

@arunasr

Description

@arunasr

My scanner supports customisation of colour curve table. "scanimage" utility reports this option as

   --red-gamma-table 0..255,...
        Gamma-correction table for the red band.
    --green-gamma-table 0..255,...
        Gamma-correction table for the green band.
    --blue-gamma-table 0..255,...
        Gamma-correction table for the blue band.

It is an array of integers, SANE reports option size 1024. Alas, Python demands a single-value int/long option.
image
How can we support value tables?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions