dude- download the sane-backend source tarball, and look at scanimage.c in the frontends directory.
but really, it's not that big of a deal- in fact, you can add three lines to the top of the data buffer and get a valid pnm. also- turn off the html email. it's bad form on a mailing list. allan On Mon, May 11, 2009 at 1:46 PM, Mark Pemburn <mark at pemburn.com> wrote: > Hi All, > > ??? Today, in my Mac OS X SANE user interface project, I began looking into > what to do with the data I've been able to retrieve from the scanner.? Looks > like this is going to be a tough climb, according to what I read in section > 3.2 of the API.? It would seem that "scanimage" contains the facility for > translating SANE image data into standard image format(s) (e.g., TIFF) -- is > the source code for scanimage available somewhere?? I've searched around but > haven't found it yet.? Also: there is a dynamic library called > "libsane.dylib" that was installed by one of the SANE packages.? Is there > documentation available for this library?? I'm hoping it has callable > routines that'll do what I need. > > Thanks in advance, > > Mark > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > ? ? ? ? ? ? to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"
