[sane-devel] How to print color image

Henning Meier-Geinitz henning@meier-geinitz.de
Wed, 9 Jul 2003 11:27:53 +0200


Hi,

On Wed, Jul 09, 2003 at 11:18:58AM +0530, aneesh m raj wrote:
> Im developing a frontend and Im confused with the
> SANE_Option_Descriptor structure. How can I set to scan the image in
> RGB.

You (as the frontend programmer) don't do that. Instead the user
sets the option that represents the scan mode as he likes.
Usually this option is named "mode" and is a string list with values
like "Color" or "Gray".

Keep in mind that this option needn't exist and even if it exists,
there may not be a color mode.

Bye,
  Henning