sane-project-website/old-archive/1999-02/0135.html

79 wiersze
3.6 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="Sat Feb 20 11:07:11 1999 PST" -->
<!-- sent="Sat, 20 Feb 1999 11:05:49 -0800" -->
<!-- name="Brian Macy" -->
<!-- email="bmacy@sunshinecomputing.com" -->
<!-- subject="Win32 SANE interface..." -->
<!-- id="" -->
<!-- inreplyto="" -->
<title>sane-devel: Win32 SANE interface...</title>
<h1>Win32 SANE interface...</h1>
<b>Brian Macy</b> (<a href="mailto:bmacy@sunshinecomputing.com"><i>bmacy@sunshinecomputing.com</i></a>)<br>
<i>Sat, 20 Feb 1999 11:05:49 -0800</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#135">[ date ]</a><a href="index.html#135">[ thread ]</a><a href="subject.html#135">[ subject ]</a><a href="author.html#135">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0136.html">Robert Schwebel: "Re: xsane-saving formats"</a>
<li> <b>Previous message:</b> <a href="0134.html">Oliver Rauch: "xsane-saving formats"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
This thing is currently butt simple. I hacked out the interface last night<br>
because I couldn't sleep.<br>
<p>
Features:<br>
- File::Scan - prompts for host and user names and then does a full page<br>
scan using default settings on the server. Shows the picture FitToWindow<br>
(maintains proper scale) on the program.<br>
- Edit::Copy - copies the full page scan into the Clipboard so you can paste<br>
it into your favorite editor (I recommend PixWizard or PaintShop Pro).<br>
<p>
That's it. It will be Open Sourced so others can help on it too.<br>
<p>
Current Limitations:<br>
- It assumes you want to scan off the first device found on the host<br>
- No preview or scan area selection<br>
- No setting of any sort<br>
- Only works if the host sends it RGB 8bits/pixel data back.<br>
- No status while it is scanning... the program just locks for a while.<br>
- Probably lots of bugs<br>
- Builds only with Borland (possibly the 5.x series only) and OWL<br>
<p>
Like I said, it will be Open Sourced. It uses a simple C++ implemenation of<br>
the SANE network protocol. I was hoping that the TWAIN driver that was<br>
released would have taken care of my needs but since it doesn't work at all<br>
for me *and* the DLL itself is not open source, it is worthless for me. Many<br>
of you may find this program worthless too but it does the job for me and<br>
you will have the ability to fix it in the future.<br>
<p>
Details:<br>
- Executable is available at ftp.sunshinecomputing.com:/pub/winsane<br>
- Source for application will be available when I come up with a decent<br>
license (GPL is too restrictive)<br>
- The 3rd party library I use and help develop is at www.ysl.org . Great<br>
little library (unbiased opinion of course:) and at one time built in Linux<br>
egcs and Borland C++ (currently handles only Borland Win32 but Linux and<br>
Win32 egcs will return along with many other compilers). The latest release<br>
of the library doesn't support GUI builds (I had to hack them in) and there<br>
is a bug in YSocketStream::Read_v function that makes it not work (my bug:).<br>
Anyways, the YSLs would welcome contributions (in like style).<br>
<p>
Brian Macy<br>
<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="0136.html">Robert Schwebel: "Re: xsane-saving formats"</a>
<li> <b>Previous message:</b> <a href="0134.html">Oliver Rauch: "xsane-saving formats"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>