[sane-devel] sane-coolscan2.

2004-12-15 Thread Laurent-jan Dullaart
On Wednesday 15 December 2004 06:34, Hubert Figuiere wrote:
> On Wed, 2004-12-15 at 00:05 +0100, Laurent-jan Dullaart wrote:
> 
> > There is a script-fu/gimp1-plugin for the coolscan2-backend available at:
> > 
> > www.xs4all.nl/~ljm/dirtyduster.tar
> > 
> > Works quite well for small scratches or dust. You'll need some 
experimenting 
> > with enhancing the contrast in the infra-red image.  Also, see 
> > 
> > http://andreas.rick.free.fr/sane/
> > 
> > for the original plugin. The plug-in part from my tar is practically an 
> > unchanged copy of this. Andreas also explains a bit how it works.
> 
> At one time I did port it to Gimp-1.2. Patch available there:
> 
> http://www.figuiere.net/projects/dustrm/
> 
> Perhaps should I port it to 2.0 ?
> 
> Cheers
> 
> Hub
> -- 

Julien Blache promissed to have a look at it and help port it to GIMP2. I am 
still running GIMP1.2, so I have no experience writing plug-ins for GIMP2 and 
I cannot test it.  Of course, if you'd port it, you'd save him some work :-)

Just wondering: how many scanners are there (apart from the coolscan series) 
that support an infra-red channel? And how do the backends for those scanners 
handle this channel; how do you get it in the GIMP? As an alpha chanel (like 
the coolscan) or as an additional picture (like the coolscan2)? From previous 
discussions about the coolscan, I remember that the SANE-standard does not 
really cover this.

-- 
(c) ljm ( xs4all)No part of this copyright message may be 
reproduced, read or seen, dead or alive or by any means, including
but not limited to telepathy  without the benevolence of the author.





[sane-devel] sane-coolscan2.

2004-12-15 Thread Peter Ankerstål
On Wed, 15 Dec 2004 00:34:21 -0500
Hubert Figuiere  wrote:


> At one time I did port it to Gimp-1.2. Patch available there:
>=20
> http://www.figuiere.net/projects/dustrm/
>=20
> Perhaps should I port it to 2.0 ?
Or 2.2. :P
> Cheers
>=20
> Hub
> --=20
> Crazy French - http://www.figuiere.net/hub/

--=20
MVH
Peter Ankerst=E5l.



[sane-devel] sane-coolscan2.

2004-12-15 Thread Hubert Figuiere
On Wed, 2004-12-15 at 00:05 +0100, Laurent-jan Dullaart wrote:

> There is a script-fu/gimp1-plugin for the coolscan2-backend available at:
> 
> www.xs4all.nl/~ljm/dirtyduster.tar
> 
> Works quite well for small scratches or dust. You'll need some experimenting 
> with enhancing the contrast in the infra-red image.  Also, see 
> 
> http://andreas.rick.free.fr/sane/
> 
> for the original plugin. The plug-in part from my tar is practically an 
> unchanged copy of this. Andreas also explains a bit how it works.

At one time I did port it to Gimp-1.2. Patch available there:

http://www.figuiere.net/projects/dustrm/

Perhaps should I port it to 2.0 ?

Cheers

Hub
-- 
Crazy French - http://www.figuiere.net/hub/




[sane-devel] sane-coolscan2.

2004-12-15 Thread Laurent-jan Dullaart
On Tuesday 14 December 2004 10:47, Johannes Berg wrote:
> Hi,
> 
> >What do you mean? I need it? :P But do you know another tool for removing
> >dust and scratches?

I use compressed air and a very soft brush. :-)

> >  
> >
> There's a recent message giving a hint that someone has implemented this 
> in gimp-fu (and you can google for that relatively easily)
> 
> johannes
> 
> 

There is a script-fu/gimp1-plugin for the coolscan2-backend available at:

www.xs4all.nl/~ljm/dirtyduster.tar

Works quite well for small scratches or dust. You'll need some experimenting 
with enhancing the contrast in the infra-red image.  Also, see 

http://andreas.rick.free.fr/sane/

for the original plugin. The plug-in part from my tar is practically an 
unchanged copy of this. Andreas also explains a bit how it works.

-- 
(c) ljm ( xs4all)No part of this copyright message may be 
reproduced, read or seen, dead or alive or by any means, including
but not limited to telepathy  without the benevolence of the author.





[sane-devel] sane-coolscan2.

2004-12-14 Thread Johannes Berg
Hi,

>What do you mean? I need it? :P But do you know another tool for removing
>dust and scratches?
>  
>
There's a recent message giving a hint that someone has implemented this 
in gimp-fu (and you can google for that relatively easily)

johannes




[sane-devel] sane-coolscan2.

2004-12-14 Thread Major A
> > The scanner doesn't support anything but RGB(+I). I made the decision
> > not to include code that converts from RGB to greyscale into the
> > backend, this should really be done on the frontend side or in GIMP or
> > similar.
> Are you sure? I think I read somewhere that the scanner support grayscale,
> RGB and CMYK.

The scanner samples four colours: RGB + IR. There's nothing else the
scanner can output, and because of the way it's designed, it can't
even sample greyscale. Any conversion to any other colour space must
be done in software. As far as I'm aware, scanners never support CMYK,
which is an anachronism anyway. Maybe scanner _drivers_ do, but that's
another story.

> > It isn't implemented yet. The IR readout works, but the driver side of
> > ICE is not yet available in SANE. It isn't simply a hardware feature
> > that needs enabling.
> What do you mean? I need it? :P But do you know another tool for removing
> dust and scratches?

ICE is a combination of an IR channel being supplied by the scanner
and some filtering code that makes use of it. The latter isn't
implemented in SANE yet.

> But it would be nice to have it supported in hardware.

ICE is not a pure hardware feature, there's nothing we can do about
that.

  Andras



[sane-devel] sane-coolscan2.

2004-12-14 Thread Peter Ankerstål
On Tue, 14 Dec 2004 00:15:37 +
Major A  wrote:

> The scanner doesn't support anything but RGB(+I). I made the decision
> not to include code that converts from RGB to greyscale into the
> backend, this should really be done on the frontend side or in GIMP or
> similar.
Are you sure? I think I read somewhere that the scanner support grayscale,
RGB and CMYK.
> > Hm. What about ICE. Does it work with sane?
>=20
> It isn't implemented yet. The IR readout works, but the driver side of
> ICE is not yet available in SANE. It isn't simply a hardware feature
> that needs enabling.
What do you mean? I need it? :P But do you know another tool for removing
dust and scratches?
But it would be nice to have it supported in hardware.
>   Andras
>=20
> --=20
> sane-devel mailing list: sane-devel@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>  to sane-devel-requ...@lists.alioth.debian.org
>=20


--=20
MVH
Peter Ankerst=E5l.



[sane-devel] sane-coolscan2.

2004-12-14 Thread Peter Ankerstål
I have a Nikon coolscan LS-40.
I run it under FreeBSD and everything works fine
but I cant choose grayscale or any colormode at all.

Hm. What about ICE. Does it work with sane?

--=20
MVH
Peter Ankerst=E5l.



[sane-devel] sane-coolscan2.

2004-12-14 Thread Major A
> I have a Nikon coolscan LS-40.
> I run it under FreeBSD and everything works fine

Good to hear that.

> but I cant choose grayscale or any colormode at all.

The scanner doesn't support anything but RGB(+I). I made the decision
not to include code that converts from RGB to greyscale into the
backend, this should really be done on the frontend side or in GIMP or
similar.

> Hm. What about ICE. Does it work with sane?

It isn't implemented yet. The IR readout works, but the driver side of
ICE is not yet available in SANE. It isn't simply a hardware feature
that needs enabling.

  Andras