On Tue, 22 Aug 2006, Ren? Rebe wrote:

>
> On Aug 22, 2006, at 2:51 PM, m. allan noah wrote:
>
>> now that many low-end scanners support jpeg natively (some ONLY do jpeg!) i 
>> expect we will see more need for this.
>
> Oh!
>
>> as a short term fix, rather than adding a new sane_frame type, the backend 
>> can extract the compressed data, convert to raw bitmap. then frontend can 
>> convert to any compressed format it wants. this is not as efficient as 
>> keeping the compressed version the entire way through, but it works now.
>> 
>> dell networked scanner backend works this way.
>
> Well that stinks as you lose a lot of detail with the lossy jpeg 
> decompression.

even worse, if you are running the thing over the net backend, you convert 
to huge bitmap just before you transfer it over the network!

>
> Maybe let's add the JPEG frame type rather soon (even in SANE 1) and let's 
> add an IR (infra red) frame specification on the way as good film scanner 
> deliver for dust and the-like removal.

agreed. though i would think we would need to make a well-known option 
like 'compression' or 'format' that such backends would have to implement, 
with the default being 'bitmap'. these backends would then 'unjpeg' the 
files before passing to frontend, and existing frontends will continue to 
work. then the user must manually set the option to something other than 
'bitmap', if he knows his frontend supports this.

SANE2 could require that the frontend support jpeg, and that could become 
the default for the 'format' option.

allan

>
> Yours,
>

-- 
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera
From terren...@ak.net  Tue Aug 22 17:57:51 2006
From: terren...@ak.net (terren...@ak.net)
Date: Tue Aug 22 17:59:19 2006
Subject: [sane-devel] Best scanners to use with SANE?
Message-ID: <Pine.LNX.4.64.0608220952560.6829@Knoppix>

        Does anyone have any suggestions on the best scanner for working 
with Sane?  I'm thinking I'll probably get a scanner in October 
specifically based on what works with SANE, instead of what I did last 
year, getting the scanner and then realizing too late that it wouldn't 
work.  I'm looking for something that will be the least time-consuming to 
get working as I want to be able to spend the time scanning, not fighting 
with my scanner.  I'm running SANE on an e-machines 433MHZ PC with Oralux, 
a Knoppix-based operating system without X11.  Any advice on this would be 
greatly appreciated.

Thanks,
Terrence

Reply via email to