[sane-devel] CCT Type on Epson 2 driver
Nicholas Andre
nick at nicholasandre.com
Sun Jul 10 20:26:55 BST 2022
Hey all,
I'm having trouble enabling the CCT Type option in sane (says inactive).
In the code I see:
/* XXX disabled for now */ s->opt[OPT_CCT_MODE].name =
"cct-type"; s->opt[OPT_CCT_MODE].title = "CCT Profile
Type"; s->opt[OPT_CCT_MODE].desc = "Color correction profile
type"; s->opt[OPT_CCT_MODE].type =
SANE_TYPE_STRING; s->opt[OPT_CCT_MODE].cap |= SANE_CAP_ADVANCED |
SANE_CAP_INACTIVE; s->opt[OPT_CCT_MODE].size =
max_string_size(cct_mode_list); s->opt[OPT_CCT_MODE].constraint_type =
SANE_CONSTRAINT_STRING_LIST; s->opt[OPT_CCT_MODE].constraint.string_list
= cct_mode_list; s->val[OPT_CCT_MODE].w = CCT_AUTO;
Does this mean this feature isn't enabled? or am I missing something.
$ scanimage -d 'epson2:libusb:006:009' --mode=Color --depth=16
--source="TPU8x10" --preview=yes --format=tiff
--color-correction="None" --cct-type="Colour negatives"
--cct-profile=0 -o ~/preview.tif
scanimage: attempted to set inactive option cct-type
--
Thanks,
Nicholas Andre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20220710/a693b172/attachment.htm>
More information about the sane-devel
mailing list