[sane-devel] sane-backends/lib/getopt.c compiling on OS/2

2005-07-07 Thread fba...@gmx.net (Franz Bakan)
On Wed, 06 Jul 2005 12:31:11 +0200, Mattias Ellert wrote:

On Sun, 2005-07-03 at 15:10 +0200, Henning Meier-Geinitz wrote:

 getopt.c is compiled and linked unconditionally on all platforms as
 far as I can see. As this works on all the other platforms there must
 be something different on OS/2.
 
 You could try to move getopt and getopt_long to AC_REPLACE_FUNCS in
 configure.in and modify lib/Makefile.in accordingly. But I haven't
 checked all the implications of that. Maybe linking the getopt code
 was done intentionally.

You shouldn't have to do this. If the compiler finds that the glibc has
the right getopt version all the code in getopt.c is removed by the
#ifndef ELIDE_CODE conditional and it creates an empty getopt.o.

But the compiler I have available isn't smart enough to decide...
I'm quite shure that the getopt-code included in libc that comes
with the gcc335b5-compiler is good enough for SANE.

What's the trigger for the compiler to decide?

in sane-backends/lib/getopt.c getWe have:

...
#define GETOPT_INTERFACE_VERSION 2
#if !defined _LIBC  defined __GLIBC__  __GLIBC__ = 2
# include gnu-versions.h
# if _GNU_GETOPT_INTERFACE_VERSION == GETOPT_INTERFACE_VERSION
#  define ELIDE_CODE
# endif
#endif

#ifndef ELIDE_CODE
...


but _GNU_GETOPT_INTERFACE_VERSION isn't defined in
the headers that come with my compiler.
Should it? and when yes where?

Franz





[sane-devel] testing of the HP Jetscan 2400c

2005-07-07 Thread Stéphane VOLTZ
Le Mercredi 6 Juillet 2005 11:40, carlos a =E9crit=A0:
 Hi Stef,
 I very much would like to contribute with the testing, let me know
 when you have something new to try.

 cheers,
 Carlos


Hello,

I'll be on holidays next week, so I'll start working on 2400c in the 
secon=
d=20
half of July. I'll post here when there will be something to test.

Regards,
Stef



[sane-devel] testing of the HP Jetscan 2400c

2005-07-07 Thread Stéphane VOLTZ
Le Mercredi 6 Juillet 2005 09:20, Sanjay Chigurupati a =E9crit=A0:
 Hi,
 I have scanjet 2400c.  I can do testing.
 How do I do testing?

Hello,

to test you'll have to build the backend from CVS first. Then you can 
run =
it=20
in a shell window without installing by exporting th following variables=20
which assume that you run scanimage or xsane from .../sane-backends/backend:
export SANE_DEBUG_GENESYS=3D255
export SANE_DEBUG_GENESYS_GL646=3D255
export LD_PRELOAD=3D.libs/libsane-genesys.so

Then running ' scanimage [options] 2scan.log ' or 'xsane 2xsane.log' 
wil=
l=20
send all messages in log file. We will be able to see what's going on and=20
where it is getting stuck. For now, as a data stat point, I'd need the log=
=20
from a preview.=20


Regards,
Stef

=09



[sane-devel] Nikon LS 5000]

2005-07-07 Thread Ariel Garcia
Hi Spiro,

 I am glad you are working on this scanner as I see more people needing
 your assistance.

 As for me, I am now very happy because the project I have to work on is
 very big; it involved about 15000 pictures (35mm) and the sponsor, for
 charity, trusts my work. So, on my behalf, I then trust and rely on your
 assistance. So, I will purchase the NIKON LS-5000 (feeling more relaxed
 and peaceful) and as soon as you are completed with the driver I will
 start my project. I would only ask you one favor, if possible: Please
 let me-us know when you believe to be close to completing the
 development and also, if you need me to do some testing let me know. I
 work on amd64 64bit.
 I hope to hear something soon or some updates.

hey, thanks for your enthusiasm, but please note that there are not 
warranties that i will be able to get it working... zero, nada, niente... 
or it could simply take much longer, so don't base your purchase only on 
the linux driver availability!  I didn't even get the specs yet, so didn't 
even start looking at the issues.

Of course it is a great scanner so it is worth purchasing it anyway, but 
remember that if you intend to do batch scanning relying on the sane 
driver might not be the best option because it would lack the whole set of 
automated functions the original driver provides (ICE, gem, roc,... your 
mileage may vary but depending on how good/bad your slides are these 
functions might save you a lot of time). ICE is the only feature which 
needs hardware support, the other ones are plain software algorithms in 
the driver.
ICE works great for non kodachrome films, and sane will provide your with 
the 4th (infrared) channel, but i am not sure how to use that info in an 
automated way (substraction layer in gimp??)
If windoze is not an option, there is also vuescan which i think it also 
performs several of the color correction features, but i have no 
experience with it.

Cheers, Ariel



[sane-devel] epson 1250 scanning dark color

2005-07-07 Thread Gerhard Jaeger
On Wednesday 06 July 2005 03:03, Olaf Meeuwissen wrote:
 John H. mistama...@yahoo.com writes:
 
  My epson 1250 is scanning very dark when I do color,
  why is that?
 
  xsane-gimp-0.96-1
  sane-frontends-1.0.13-2
  sane-backends-1.0.15-9
  xsane-0.96-1
 
  good color in windows.
 
 What backend?  I'd guess plustek but this scanner is also supported by
 the epkowa backend.

He,he - don't put the blame on me ;)

Well - of course you might wan't to check that with the epkowa backend, you
might also want to tweak the gamma options in the plustek.conf file:

#
# for adjusting the default gamma values
# (can also be set via frontend)
option redGamma 1.5
option greenGamma   1.5
option blueGamma1.5
option grayGamma1.5

Default is 1.0 for this device, which means use a linear map, 1.5 should
increase the brightness.

Hope this helps.

Ciao,
Gerhard




[sane-devel] Nikon LS 5000]

2005-07-07 Thread Johannes Berg
Ariel Garcia wrote:

ICE works great for non kodachrome films, and sane will provide your with 
the 4th (infrared) channel, but i am not sure how to use that info in an 
automated way (substraction layer in gimp??)
  

Search on google -- there's an ICE plugin for GIMP.

johannes