[sane-devel] Gray frame with sane_control_option

pierre pierre.spam@free.fr
Sat, 24 May 2003 12:00:12 +0200


I'm developping a front end with GTK 1.2

with sane_get_parameters I always recieve SANE_FRAME_RGB (=1) format
otherwise i set the option mode = 0


I try with
sane_control_option(h,i,SANE_ACTION_SET_VALUE,&integer,&n)
where i = 1,integer = 0


Is there any solution or the scanner will always scan in RGB and the
frontend should convert RGB to Black and white ?

Thanks Pierre