TWAIN plugin for Mac OS X & Win32
I've been working on porting the formerly Win32-only TWAIN plugin to Mac
OS X [1].
Patched version configures, builds and runs on Mac OS X 10.3; I can
successfully scan from a CanoScan U1240U using a TWAIN SANE bridge [2],
but it crashes when scanning with an EPSON Perfection 1250 using EPSON's
TWAIN driver. Also 'Cancel' doesn't seem to work quite right.
To get out of #ifdef hell I isolated the platform-specific bits into
their own file, though it's still a little scary in there. I've tried
not to break the Win32 side, but I don't yet have a Win32 build
environment set up to test it. The directions I found on the wiki are
pretty daunting...
[1] http://bugzilla.gnome.org/show_bug.cgi?id=147962
[2] http://www.ellert.se/twain-sane/
-- brion vibber (brion @ pobox.com)