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

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

Open
arunasr opened this issue May 13, 2021 · 0 comments
Open

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

arunasr opened this issue May 13, 2021 · 0 comments

Comments

@arunasr
Copy link

arunasr commented May 13, 2021

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?

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

No branches or pull requests

1 participant