[sane-devel] Planar & Chunky

Guy Brooker guy_brooker@mac.com
Sat, 20 Sep 2003 15:33:04 +0200


A front end question !

As far as I understand from the SANE spec, a backend may send colour image
data as either an R, G & B sample per pixel, what TWAIN refers to as chunky,
or as three separate images, one of R, one of G and one of B, what TWAIN
refers to as planar.

Is there any way of forcing a backend to go one way or another ? And
secondly, is there any way of determining if the data will be planar or
chunky before calling sane_start() ?

Cheers
Guy