[sane-devel] Gray frame with sane_control_option

2003-05-24 Thread Henning Meier-Geinitz
Hi, On Sat, May 24, 2003 at 12:00:12PM +0200, pierre wrote: > I'm developping a front end with GTK 1.2 That's nice. You know that there are already a few of those (XSane, xscanimage, xcam)? > with sane_get_parameters I always recieve SANE_FRAME_RGB (=1) format > otherwise i set the option mode =

[sane-devel] Gray frame with sane_control_option

2003-05-24 Thread pierre
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

[sane-devel] Gray frame with sane_control_option

2003-05-24 Thread Major A
> I'm developping a front end with GTK 1.2 Sounds good -- what are your goals? What can it do that xsane etc. can't? Why not use GTK 2.x? > with sane_get_parameters I always recieve SANE_FRAME_RGB (=1) format > otherwise i set the option mode = 0 Some scanners don't support greyscale scanning. T