kopia lustrzana https://gitlab.com/sane-project/website
88 wiersze
4.8 KiB
HTML
88 wiersze
4.8 KiB
HTML
<!-- received="Thu May 7 21:59:16 1998 PDT" -->
|
|
<!-- sent="Fri, 8 May 1998 00:55:24 -0400 (EDT)" -->
|
|
<!-- name="Matt Martin" -->
|
|
<!-- email="mmartin@Calvin.SFC.Lehigh.Edu" -->
|
|
<!-- subject="Re: DS-7 Backend" -->
|
|
<!-- id="Pine.SUN.3.95.980508004213.4582A-100000@spiff.sfc.lehigh.edu" -->
|
|
<!-- inreplyto="199805080212.TAA28783@panda.mostang.com" -->
|
|
<title>sane-devel: Re: DS-7 Backend</title>
|
|
<h1>Re: DS-7 Backend</h1>
|
|
<b>Matt Martin</b> (<a href="mailto:mmartin@Calvin.SFC.Lehigh.Edu"><i>mmartin@Calvin.SFC.Lehigh.Edu</i></a>)<br>
|
|
<i>Fri, 8 May 1998 00:55:24 -0400 (EDT)</i>
|
|
<p>
|
|
<ul>
|
|
<li> <b>Messages sorted by:</b> <a href="date.html#94">[ date ]</a><a href="index.html#94">[ thread ]</a><a href="subject.html#94">[ subject ]</a><a href="author.html#94">[ author ]</a>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0095.html">David Mosberger-Tang: "Re: DS-7 Backend"</a>
|
|
<li> <b>Previous message:</b> <a href="0093.html">Paul D. Robertson: "Re: [umax] Can't use 10-bit scan: "preview cannot handle depth 16""</a>
|
|
<li> <b>In reply to:</b> <a href="0091.html">David Mosberger-Tang: "Re: DS-7 Backend"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0095.html">David Mosberger-Tang: "Re: DS-7 Backend"</a>
|
|
<li> <b>Reply:</b> <a href="0095.html">David Mosberger-Tang: "Re: DS-7 Backend"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|
|
<!-- body="start" -->
|
|
<i>> What I would like to see is a library of conversion filters, e.g.,</i><br>
|
|
<i>> JPG->PPM, FlashPix->PPM, PPM->JPG, PPM->FlashPix and so on (much like</i><br>
|
|
<i>> the PNM utilities). Then, a frontend could declare what image types</i><br>
|
|
<i>> it supports and the backend declares what image type it supports. If</i><br>
|
|
<i>> there is a mismatch, a pipeline of available filters can be</i><br>
|
|
<i>> constructed that will make it possible for the frontend to interpret</i><br>
|
|
<i>> the backends data. E.g., xscanimage when running under GIMP would</i><br>
|
|
<i>> declare "PPM" only, then when you'd attempt to read from a JPG-only</i><br>
|
|
<i>> camera, the JPG->PPM filter would be used.</i><br>
|
|
<i>> </i><br>
|
|
<p>
|
|
Looks like right now the entire image must be buffered,converted and<br>
|
|
then sent to the frontend piecemeal (kind of like the fake pnm<br>
|
|
driver). Can't imagine that the current API would allow any other<br>
|
|
approach, as it "steals" away the data as soon as it arrives from the<br>
|
|
scanner; no chance for subsequent manipulation.<br>
|
|
<p>
|
|
Wondering if Rasterman's Imlib would be a good way to go for image<br>
|
|
conversion. Supposedly it can display and convert all kinds of<br>
|
|
formats. (haven't programmed with it, only used it)<br>
|
|
<p>
|
|
<i>> Since this would be a fairly significant change to the SANE API, I</i><br>
|
|
<i>> think we should do this extension as part of a next major revision.</i><br>
|
|
<i>> If you're interested in working on this, you could design the DS-7</i><br>
|
|
<i>> backend in a way that works with the existing SANE (i.e., JPG always</i><br>
|
|
<i>> gets converted to PPM) but makes it easy to adapt to the new</i><br>
|
|
<i>> environment once work on the extended API begins.</i><br>
|
|
<i>> </i><br>
|
|
<p>
|
|
Might be easier to re-write when the new API is defined... (any plans?)<br>
|
|
For now I will try to shoehorn some conversion into the backend.<br>
|
|
<p>
|
|
Thanks for the advice.<br>
|
|
Matt Martin<br>
|
|
<a href="mailto:matt.martin@ieee.org">matt.martin@ieee.org</a><br>
|
|
<p>
|
|
Lehigh U. Microelectronics Research Lab "The Clubhouse"<br>
|
|
16A Memorial Dr. E., Bethlehem,PA,18015 126 East 4th St.<br>
|
|
mmartin @ calvin.sfc.lehigh.edu Bethlehem, PA,18015-1702<br>
|
|
Work:(610) 758-3951 (Office) MGM1 @ LEHIGH.EDU<br>
|
|
-4518 (Lab) Home: (610) 758-9662<br>
|
|
WWW: "<a href="http://www.lehigh.edu/~mgm1/mgm1.html">http://www.lehigh.edu/~mgm1/mgm1.html</a>" AIM ID: MmAaRtTtIN<br>
|
|
PGP Public key at "finger <a href="mailto:mmartin@calvin.sfc.lehigh.edu">mmartin@calvin.sfc.lehigh.edu</a>"<br>
|
|
<p>
|
|
<p>
|
|
<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">majordomo@mostang.com</a>
|
|
</pre>
|
|
<!-- body="end" -->
|
|
<p>
|
|
<ul>
|
|
<!-- next="start" -->
|
|
<li> <b>Next message:</b> <a href="0095.html">David Mosberger-Tang: "Re: DS-7 Backend"</a>
|
|
<li> <b>Previous message:</b> <a href="0093.html">Paul D. Robertson: "Re: [umax] Can't use 10-bit scan: "preview cannot handle depth 16""</a>
|
|
<li> <b>In reply to:</b> <a href="0091.html">David Mosberger-Tang: "Re: DS-7 Backend"</a>
|
|
<!-- nextthread="start" -->
|
|
<li> <b>Next in thread:</b> <a href="0095.html">David Mosberger-Tang: "Re: DS-7 Backend"</a>
|
|
<li> <b>Reply:</b> <a href="0095.html">David Mosberger-Tang: "Re: DS-7 Backend"</a>
|
|
<!-- reply="end" -->
|
|
</ul>
|