Hi,
On Monday 10 October 2005 17:17, kenwhale wrote:
> Hi, all.
> I read backend-writing.txt in www.sane-project.org. It says:
> * Use only ANSI C for your backend. C99 is not supported by the
> compilers of some older platforms so please avoid using its features.
> Does that mean I must write my backend in c and can't use c++ ?
In theory you can write in any language with a C binding. However on many of
the esoteric platforms we support this does not work.
So you could write it in C++ and make a configure check for your language (C++
here) and conditionally compile it when it is available. However you restrict
your backend to platforms where a recent enough (depending what C++ features
you use) is availbale.
Distributing seperateded from sane-backends is another options.
Yours,
--
Ren? Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
http://www.exactcode.de | http://www.t2-project.org
+49 (0)30 255 897 45
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051010/0b5652e2/attachment.pgp
From [email protected] Mon Oct 10 08:23:58 2005
From: [email protected] (=?utf-8?q?Ren=C3=A9_Rebe?=)
Date: Mon Oct 10 08:25:30 2005
Subject: [sane-devel] TWAIN 2.0 targetting Linux
Message-ID: <[email protected]>
Hi all,
aside my SANE Avision backend I do various other stuff - including a
commercial TWAIN driver, recently.
I noticed the TWAIN 2.0 "work in progress" list includes the target "Linux"
and a "rewritten Data Souce Manager released under /a/ /open/ source
license".
http://www.twain.org/docs/TWAIN2.pdf
I'm not sure if I'm too happy about that, since it might bring new diversity
into the already difuse Linux land and might hinder SANE 2 from ever beeing
started.
What do other think?
--
Ren? Rebe - Rubensstr. 64 - 12157 Berlin (Europe / Germany)
http://www.exactcode.de | http://www.t2-project.org
+49 (0)30 255 897 45
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20051010/13cddb7b/attachment.pgp
From [email protected] Mon Oct 10 09:10:24 2005
From: [email protected] (Frank Zago)
Date: Mon Oct 10 09:12:25 2005
Subject: [sane-devel] hp3970 - Reading image in raw format
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <[email protected]>
JKD wrote:
>Hello everyone,
>
>I started working on hp scanjet 3970 backend one year ago unofficially
>(I don't like to make things official when I'm not sure if I can do it).
>Few months later I stopped working on it due to other guy announced
>officially his intention to create a backend. After some months of
>inactivity I'm on it again.
>
>My program already makes scanner working and it seems that image is
>being read from scanner but I need some help about it. I need to see if
>received image is correct but I don't know anything about known image
>formats. Scanner's image is a succesion of 3 bytes (red, green, blue
>channels). Is there any utility to see this kind of image? Is there any
>utility or any code to convert this data to any known image format?
>
>
If the image is already in the shape of a RGB triplet, you can simply
add a PPM header and display the image with 'display'.
If not, you can write a short filter (about 20 lines of code) to create
a PPM from it. See 'man ppm' and 'man pnm'.
Frank.