sane-project-website/old-archive/1999-08/0332.html

102 wiersze
4.3 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Mon Aug 30 08:22:58 1999 PDT" -->
<!-- sent="Sun, 29 Aug 1999 20:53:45 +0200" -->
<!-- name="Oliver Rauch" -->
<!-- email="oliver.rauch@Wolfsburg.DE" -->
<!-- subject="Re: SANE V2 - again..." -->
<!-- id="" -->
<!-- inreplyto="SANE V2 - again..." -->
<title>sane-devel: Re: SANE V2 - again...</title>
<h1>Re: SANE V2 - again...</h1>
<b>Oliver Rauch</b> (<a href="mailto:oliver.rauch@Wolfsburg.DE"><i>oliver.rauch@Wolfsburg.DE</i></a>)<br>
<i>Sun, 29 Aug 1999 20:53:45 +0200</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#332">[ date ]</a><a href="index.html#332">[ thread ]</a><a href="subject.html#332">[ subject ]</a><a href="author.html#332">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0333.html">Stephen Williams: "Re: SANE V2 - again..."</a>
<li> <b>Previous message:</b> <a href="0331.html">Milon Firikis: "Re: SANE V2 - again..."</a>
<li> <b>Maybe in reply to:</b> <a href="0327.html">abel deuring: "SANE V2 - again..."</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0334.html">Oliver Rauch: "Re: SANE V2 - again..."</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
abel deuring wrote:<br>
<p>
<i>&gt;</i><br>
<i>&gt;</i><br>
<i>&gt; - The preview data may be only in SANE_FRAME_GRAY,</i><br>
<i>&gt; SANE_FRAME_RGB, SANE_FRAME_RED, ...GREEN, ...BLUE. If</i><br>
<i>&gt; necessary, the backend must transform some other internal</i><br>
<i>&gt; data content or data representation into one of these</i><br>
<i>&gt; formats. (For "better known" data representations like</i><br>
<i>&gt; xyz-compression and "better known" data contents like RGB +</i><br>
<i>&gt; "infrared for dust removal" library functions might be</i><br>
<i>&gt; developed which transform the scan data into RGB or gray</i><br>
<i>&gt; scale.</i><br>
<i>&gt;</i><br>
<p>
Hi Abel,<br>
<p>
the question is if we should include functions like JPEG-&gt;PNG conversion<br>
in each backend that needs it or should we make filters that work as<br>
a "midend" (like sane-dll) that does the conversion.<br>
<p>
<p>
<i>&gt;</i><br>
<i>&gt; Finally, I think that a major revision of Sane should</i><br>
<i>&gt; include language support.</i><br>
<p>
<i>&gt; I know some users who would really</i><br>
<i>&gt; appreciate it, if it would be possible to display e.g. the</i><br>
<i>&gt; resolution option as "Aufl<66>sung".</i><br>
<i>&gt;</i><br>
<i>&gt; A very rough, incomplete and perhaps too simple suggestion</i><br>
<i>&gt; for two library functions:</i><br>
<i>&gt;</i><br>
<i>&gt; Instead of simply displaying a variable of the type</i><br>
<i>&gt; SANE_String, a frontend should call a function</i><br>
<i>&gt;</i><br>
<i>&gt; SANE_String* sane_translate_from_english(const SANE_String* text,</i><br>
<i>&gt; const SANE_String* language)</i><br>
<i>&gt;</i><br>
<i>&gt; and display the result of this function.</i><br>
<i>&gt;</i><br>
<i>&gt; When handing a SANE_String value to the backend, a frontend</i><br>
<i>&gt; should call</i><br>
<i>&gt;</i><br>
<i>&gt; SANE_String* sane_translate_into_english(const SANE_String* text,</i><br>
<i>&gt; const SANE_String* language)</i><br>
<p>
I don`t know if it is a good idea to include language support into the backend.<br>
I think all the work should be done by the frontend. We only need a<br>
translation table. The rest can be done by NLS/gettext.<br>
<p>
Bye<br>
Oliver<br>
<p>
<pre>
--
EMAIL: <a href="mailto:Oliver.Rauch@Wolfsburg.DE">Oliver.Rauch@Wolfsburg.DE</a>
WWW: <a href="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</a>
<p>
<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="0333.html">Stephen Williams: "Re: SANE V2 - again..."</a>
<li> <b>Previous message:</b> <a href="0331.html">Milon Firikis: "Re: SANE V2 - again..."</a>
<li> <b>Maybe in reply to:</b> <a href="0327.html">abel deuring: "SANE V2 - again..."</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0334.html">Oliver Rauch: "Re: SANE V2 - again..."</a>
<!-- reply="end" -->
</ul>