kopia lustrzana https://gitlab.com/sane-project/website
102 wiersze
4.3 KiB
HTML
102 wiersze
4.3 KiB
HTML
<!-- 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>></i><br>
|
||
<i>></i><br>
|
||
<i>> - The preview data may be only in SANE_FRAME_GRAY,</i><br>
|
||
<i>> SANE_FRAME_RGB, SANE_FRAME_RED, ...GREEN, ...BLUE. If</i><br>
|
||
<i>> necessary, the backend must transform some other internal</i><br>
|
||
<i>> data content or data representation into one of these</i><br>
|
||
<i>> formats. (For "better known" data representations like</i><br>
|
||
<i>> xyz-compression and "better known" data contents like RGB +</i><br>
|
||
<i>> "infrared for dust removal" library functions might be</i><br>
|
||
<i>> developed which transform the scan data into RGB or gray</i><br>
|
||
<i>> scale.</i><br>
|
||
<i>></i><br>
|
||
<p>
|
||
Hi Abel,<br>
|
||
<p>
|
||
the question is if we should include functions like JPEG->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>></i><br>
|
||
<i>> Finally, I think that a major revision of Sane should</i><br>
|
||
<i>> include language support.</i><br>
|
||
<p>
|
||
<i>> I know some users who would really</i><br>
|
||
<i>> appreciate it, if it would be possible to display e.g. the</i><br>
|
||
<i>> resolution option as "Aufl<66>sung".</i><br>
|
||
<i>></i><br>
|
||
<i>> A very rough, incomplete and perhaps too simple suggestion</i><br>
|
||
<i>> for two library functions:</i><br>
|
||
<i>></i><br>
|
||
<i>> Instead of simply displaying a variable of the type</i><br>
|
||
<i>> SANE_String, a frontend should call a function</i><br>
|
||
<i>></i><br>
|
||
<i>> SANE_String* sane_translate_from_english(const SANE_String* text,</i><br>
|
||
<i>> const SANE_String* language)</i><br>
|
||
<i>></i><br>
|
||
<i>> and display the result of this function.</i><br>
|
||
<i>></i><br>
|
||
<i>> When handing a SANE_String value to the backend, a frontend</i><br>
|
||
<i>> should call</i><br>
|
||
<i>></i><br>
|
||
<i>> SANE_String* sane_translate_into_english(const SANE_String* text,</i><br>
|
||
<i>> 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>
|