sane-project-website/old-archive/2001-02/0025.html

197 wiersze
8.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: RE: Getting compressed B/W image data from Fujitsu</TITLE>
<META NAME="Author" CONTENT="Armistead, Jason (armistej@oeca.otis.com)">
<META NAME="Subject" CONTENT="RE: Getting compressed B/W image data from Fujitsu M3096GXm scann er">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>RE: Getting compressed B/W image data from Fujitsu M3096GXm scann er</H1>
<!-- received="Sun Feb 4 22:00:49 2001" -->
<!-- isoreceived="20010205060049" -->
<!-- sent="Mon, 05 Feb 2001 00:57:32 -0500" -->
<!-- isosent="20010205055732" -->
<!-- name="Armistead, Jason" -->
<!-- email="armistej@oeca.otis.com" -->
<!-- subject="RE: Getting compressed B/W image data from Fujitsu M3096GXm scann er" -->
<!-- id="3CB744EAA897D211BB890008C728AEA8059E5F95@otausminexs.au.otis.com" -->
<!-- inreplyto="Getting compressed B/W image data from Fujitsu M3096GXm scann er" -->
<STRONG>From:</STRONG> Armistead, Jason (<A HREF="mailto:armistej@oeca.otis.com?Subject=RE:%20Getting%20compressed%20B/W%20image%20data%20from%20Fujitsu%20M3096GXm%20scann er&In-Reply-To=&lt;3CB744EAA897D211BB890008C728AEA8059E5F95@otausminexs.au.otis.com&gt;"><EM>armistej@oeca.otis.com</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Feb 04 2001 - 21:57:32 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0026.html">Heikki Kantola: "Re: SANE 1.0.4 and SnapScan library problems"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0024.html">Armistead, Jason: "RE: Getting compressed B/W image data from Fujitsu M3096GXm scann er"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0027.html">abel deuring: "Re: Getting compressed B/W image data from Fujitsu M3096GXm scann er"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0027.html">abel deuring: "Re: Getting compressed B/W image data from Fujitsu M3096GXm scann er"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#25">[ date ]</A>
<A HREF="index.html#25">[ thread ]</A>
<A HREF="subject.html#25">[ subject ]</A>
<A HREF="author.html#25">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi Tom (and all on the SANE list)
<BR>
<P>Thanks to Tom for his pointing out that his sane-bh backend DOES support
<BR>
compression.
<BR>
<P>Why isn't it directly integrated with SANE 1.04 and part of the standard
<BR>
distribution ? The latest sane-bh patches are against 1.03, so I guess
<BR>
there'll be some extra work required to make it go together with 1.04 ?
<BR>
<P>The obvious question arises : When is &quot;the next major version of SANE&quot; due
<BR>
to be released ? It would seem to me (maybe naively) that scanner-based
<BR>
compression is something that has been overlooked in SANE up until now.
<BR>
<P>Is there any reason that a &quot;reference model&quot; scanner from the SCSI II spec
<BR>
wasn't developed as part of SANE, as a basis for all others to be modelled
<BR>
on ? Obviously every manufacturer likes to &quot;roll their own&quot; feature set,
<BR>
but we seem to be treading on each other's toes by re-inventing at least
<BR>
some portion of the wheel for each new scanner. e.g. with sense code /
<BR>
qualifier decoding for the various error messages such as ADF jamming.
<BR>
Perhaps it's time to look at redesigning the backends to deal with these
<BR>
e.g. a function called sane_scsi2_asc60_asq00 might actually handle the SCSI
<BR>
2 ASC60, ASQ00 response code &quot;Lamp failure&quot; for all scanners. Perhaps this
<BR>
also lends itself to other (multi language support ?) also if the SANE API
<BR>
could be extended to cover some sort of SANE_Status to text translation
<BR>
scheme.
<BR>
<P>Or am I just barking up the wrong tree ???
<BR>
<P>There also seems to be a large discrepancy in the level of diagnostic given
<BR>
in each driver e.g. the Microtek driver seems to be absolutely LOADED with
<BR>
debugging information (over 119 printfs, plus stacks of DBG callouts), but
<BR>
others have very few at all.
<BR>
<P>Then again, maybe I'm just used to being pampered by pay-ware rather than
<BR>
GPL-ware ;-)
<BR>
<P>Is there a list of proposed features (or just a wish list by SANE users) for
<BR>
the next version ?
<BR>
<P>Just curious
<BR>
<P>Jason (who is subscribed to the list and so doesn't need cc-ing)
<BR>
<P><P><P>-----Original Message-----
<BR>
From: Tom Martone [mailto:<A HREF="mailto:tom@martoneconsulting.com?Subject=RE:%20Getting%20compressed%20B/W%20image%20data%20from%20Fujitsu%20M3096GXm%20scann er&In-Reply-To=&lt;3CB744EAA897D211BB890008C728AEA8059E5F95@otausminexs.au.otis.com&gt;">tom@martoneconsulting.com</A>]
<BR>
Sent: Saturday, 3 February 2001 12:26
<BR>
To: <A HREF="mailto:sane-devel@mostang.com?Subject=RE:%20Getting%20compressed%20B/W%20image%20data%20from%20Fujitsu%20M3096GXm%20scann er&In-Reply-To=&lt;3CB744EAA897D211BB890008C728AEA8059E5F95@otausminexs.au.otis.com&gt;">sane-devel@mostang.com</A>
<BR>
Subject: Re: Getting compressed B/W image data from Fujitsu M3096GXm
<BR>
scanner
<BR>
<P><P>Greetings,
<BR>
<P>Armistead, Jason wrote:
<BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I would have thought that some of the top-end high volume
</EM><BR>
<EM>&gt; scanners like Bell &amp; Howell would surely support on-board compression, and
</EM><BR>
<EM>&gt; that someone, somewhere might have added them to SANE.
</EM><BR>
<P>The Bell &amp; Howell Copiscan II series does support several compressed
<BR>
formats (CCITT G3, CCITT G3-2D, CCITT G4) and the SANE driver sane-bh
<BR>
supports these. To fully utilize the compressed formats, a patch to
<BR>
sane.h is necessary which adds several new frametypes.
<BR>
<P>&nbsp;&nbsp;&nbsp;&nbsp;/* optional frames */
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;SANE_FRAME_TEXT = 10, /* Human readable text non-image data */
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;SANE_FRAME_JPEG = 11, /* JPEG compressed image */
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;SANE_FRAME_G31D = 12, /* Group 3 1D compressed image */
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;SANE_FRAME_G32D = 13, /* Group 3 2D compressed image */
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;SANE_FRAME_G42D = 14 /* Group 4 2D compressed image */
<BR>
<P>Compressed formats are not supported in the current SANE standard,
<BR>
and are to be addressed in the next major version of SANE. Unofficially,
<BR>
and non-standardly, I guess, a simple addition of a few enumeration
<BR>
values and a cooperating front and back end is all you would need
<BR>
to get this going on your compression-enabled scanner.
<BR>
<P>Happy scanning,
<BR>
Tom
<BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=RE:%20Getting%20compressed%20B/W%20image%20data%20from%20Fujitsu%20M3096GXm%20scann er&In-Reply-To=&lt;3CB744EAA897D211BB890008C728AEA8059E5F95@otausminexs.au.otis.com&gt;">majordomo@mostang.com</A>
<P>--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=RE:%20Getting%20compressed%20B/W%20image%20data%20from%20Fujitsu%20M3096GXm%20scann er&In-Reply-To=&lt;3CB744EAA897D211BB890008C728AEA8059E5F95@otausminexs.au.otis.com&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0026.html">Heikki Kantola: "Re: SANE 1.0.4 and SnapScan library problems"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0024.html">Armistead, Jason: "RE: Getting compressed B/W image data from Fujitsu M3096GXm scann er"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0027.html">abel deuring: "Re: Getting compressed B/W image data from Fujitsu M3096GXm scann er"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0027.html">abel deuring: "Re: Getting compressed B/W image data from Fujitsu M3096GXm scann er"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#25">[ date ]</A>
<A HREF="index.html#25">[ thread ]</A>
<A HREF="subject.html#25">[ subject ]</A>
<A HREF="author.html#25">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sun Feb 04 2001 - 22:01:29 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>