Hi, now that was a fast reply :-)
On 17.12.2007, at 10:31, Alessandro Zummo wrote: > On Mon, 17 Dec 2007 10:29:03 +0100 > Ren? Rebe <rene at exactcode.de> wrote: > >> Hey Alessandro, >> >> I just spotted the infrared option. I wonder how you output the >> infra- >> red >> data? > > >> In the Avision backend I recently added infrared support but so far I >> just output two frames, one with the infra-red channel(s) and the >> other >> one with the ordinary image data. >> >> What is your backend doing? > > > alongside RGB data and this is why you need my program tiffscan > to read it. that's why the bakend is experimental and not > suited for mainstream sane. I defined a new frame type, > SANE_FRAME_RGBX for it. Ah, ok. We recently added SANE_FRAME_JPEG, and in that discussion I proposed GRAYI and RGBI. What is the data format of your scanner? The Avision based ones return a infra-red value for each R, G and B sensor, not just one value per pixel, so I get: R,RI,G,GI,B,BI. I can imagine other devices just return one I sample per pixel. We should take that into account before adding some official frame format to the SANE stanard. > > I did because the double frame solution was not well suited > for my workflow. now I can have tiffscan toss tiff images directly > into vuescan for infrared cleaning.