summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.in31
-rw-r--r--doc/sane-logo.jpgbin14856 -> 0 bytes
-rw-r--r--doc/sane-logo2.jpgbin6908 -> 0 bytes
-rw-r--r--doc/sane-pnm16-doc.html42
-rw-r--r--doc/sane-problems-doc.html80
-rw-r--r--doc/sane-scantips-doc.html16
-rw-r--r--doc/sane-xsane-advanced-doc.html127
-rw-r--r--doc/sane-xsane-advanced.jpgbin13091 -> 0 bytes
-rw-r--r--doc/sane-xsane-color-correction-doc.html224
-rw-r--r--doc/sane-xsane-copy-doc.html170
-rw-r--r--doc/sane-xsane-copy.jpgbin25812 -> 0 bytes
-rw-r--r--doc/sane-xsane-doc.html323
-rw-r--r--doc/sane-xsane-empty-doc.html107
-rw-r--r--doc/sane-xsane-enhancement-doc.html101
-rw-r--r--doc/sane-xsane-fax-doc.html173
-rw-r--r--doc/sane-xsane-fax-project.jpgbin12185 -> 0 bytes
-rw-r--r--doc/sane-xsane-fax.jpgbin22366 -> 0 bytes
-rw-r--r--doc/sane-xsane-gimp-doc.html220
-rw-r--r--doc/sane-xsane-gimp.jpgbin21593 -> 0 bytes
-rw-r--r--doc/sane-xsane-histogram-doc.html137
-rw-r--r--doc/sane-xsane-histogram.jpgbin26450 -> 0 bytes
-rw-r--r--doc/sane-xsane-mail-doc.html163
-rw-r--r--doc/sane-xsane-main-doc.html2
-rw-r--r--doc/sane-xsane-preview-doc.html305
-rw-r--r--doc/sane-xsane-preview.jpgbin42499 -> 0 bytes
-rw-r--r--doc/sane-xsane-save-doc.html253
-rw-r--r--doc/sane-xsane-scan-doc.html92
-rw-r--r--doc/sane-xsane-setup-copy-doc.html193
-rw-r--r--doc/sane-xsane-setup-copy.jpgbin36848 -> 0 bytes
-rw-r--r--doc/sane-xsane-setup-display-doc.html204
-rw-r--r--doc/sane-xsane-setup-display.jpgbin29270 -> 0 bytes
-rw-r--r--doc/sane-xsane-setup-enhancement-doc.html195
-rw-r--r--doc/sane-xsane-setup-fax-doc.html209
-rw-r--r--doc/sane-xsane-setup-fax.jpgbin26701 -> 0 bytes
-rw-r--r--doc/sane-xsane-setup-image-doc.html167
-rw-r--r--doc/sane-xsane-setup-mail-doc.html190
-rw-r--r--doc/sane-xsane-setup-save-doc.html192
-rw-r--r--doc/sane-xsane-setup-save.jpgbin30881 -> 0 bytes
-rw-r--r--doc/sane-xsane-standard-doc.html130
-rw-r--r--doc/sane-xsane-standard.jpgbin16093 -> 0 bytes
-rw-r--r--doc/sane-xsane-viewer-doc.html232
-rw-r--r--doc/sane-xsane.jpgbin25412 -> 0 bytes
-rw-r--r--doc/xsane-advanced.jpgbin0 -> 14672 bytes
-rw-r--r--doc/xsane-autoenhance.jpg (renamed from doc/autoenhance.jpg)bin1219 -> 1219 bytes
-rw-r--r--doc/xsane-autoselect.jpgbin0 -> 756 bytes
-rw-r--r--doc/xsane-blur.jpgbin0 -> 706 bytes
-rw-r--r--doc/xsane-brightness.jpg (renamed from doc/brightness.jpg)bin726 -> 726 bytes
-rw-r--r--doc/xsane-clone.jpgbin0 -> 702 bytes
-rw-r--r--doc/xsane-colormode.jpgbin0 -> 698 bytes
-rw-r--r--doc/xsane-contrast.jpg (renamed from doc/contrast.jpg)bin922 -> 922 bytes
-rw-r--r--doc/xsane-copy.jpgbin0 -> 10258 bytes
-rw-r--r--doc/xsane-default.jpg (renamed from doc/default.jpg)bin747 -> 747 bytes
-rw-r--r--doc/xsane-delete-preview-cache.jpgbin0 -> 750 bytes
-rw-r--r--doc/xsane-despeckle.jpgbin0 -> 692 bytes
-rw-r--r--doc/xsane-disk.jpgbin0 -> 633 bytes
-rw-r--r--doc/xsane-fax-project.jpgbin0 -> 18343 bytes
-rw-r--r--doc/xsane-fax.jpgbin0 -> 9315 bytes
-rw-r--r--doc/xsane-gamma.jpg (renamed from doc/gamma.jpg)bin808 -> 808 bytes
-rw-r--r--doc/xsane-gimp.jpgbin0 -> 9170 bytes
-rw-r--r--doc/xsane-histogram.jpgbin0 -> 24583 bytes
-rw-r--r--doc/xsane-logo.jpgbin14048 -> 0 bytes
-rw-r--r--doc/xsane-mail.jpgbin0 -> 9787 bytes
-rw-r--r--doc/xsane-medium.jpgbin0 -> 556 bytes
-rw-r--r--doc/xsane-mirror-x.jpgbin0 -> 662 bytes
-rw-r--r--doc/xsane-mirror-y.jpgbin0 -> 641 bytes
-rw-r--r--doc/xsane-negative.jpg (renamed from doc/negative.jpg)bin1267 -> 1267 bytes
-rw-r--r--doc/xsane-ocr.jpgbin0 -> 746 bytes
-rw-r--r--doc/xsane-pipette-black.jpg (renamed from doc/sane-xsane-pipette-black.jpg)bin1058 -> 1058 bytes
-rw-r--r--doc/xsane-pipette-gray.jpg (renamed from doc/sane-xsane-pipette-gray.jpg)bin1077 -> 1077 bytes
-rw-r--r--doc/xsane-pipette-white.jpg (renamed from doc/sane-xsane-pipette-white.jpg)bin1065 -> 1065 bytes
-rw-r--r--doc/xsane-preferences.jpgbin0 -> 14301 bytes
-rw-r--r--doc/xsane-preset-area.jpgbin0 -> 1188 bytes
-rw-r--r--doc/xsane-preview.jpgbin0 -> 55593 bytes
-rw-r--r--doc/xsane-printer.jpgbin0 -> 603 bytes
-rw-r--r--doc/xsane-resolution.jpgbin0 -> 645 bytes
-rw-r--r--doc/xsane-restore.jpg (renamed from doc/restore.jpg)bin837 -> 837 bytes
-rw-r--r--doc/xsane-rgb-default.jpg (renamed from doc/rgb-default.jpg)bin1095 -> 1095 bytes
-rw-r--r--doc/xsane-rotate-180.jpgbin0 -> 609 bytes
-rw-r--r--doc/xsane-rotate-270.jpgbin0 -> 655 bytes
-rw-r--r--doc/xsane-rotate-90.jpgbin0 -> 595 bytes
-rw-r--r--doc/xsane-rotation.jpgbin0 -> 901 bytes
-rw-r--r--doc/xsane-save.jpgbin0 -> 10628 bytes
-rw-r--r--doc/xsane-scale.jpgbin0 -> 644 bytes
-rw-r--r--doc/xsane-scansource.jpgbin0 -> 616 bytes
-rw-r--r--doc/xsane-setup-copy.jpgbin0 -> 42354 bytes
-rw-r--r--doc/xsane-setup-display.jpgbin0 -> 33113 bytes
-rw-r--r--doc/xsane-setup-enhancement.jpgbin0 -> 38408 bytes
-rw-r--r--doc/xsane-setup-fax.jpgbin0 -> 32988 bytes
-rw-r--r--doc/xsane-setup-image.jpgbin0 -> 10353 bytes
-rw-r--r--doc/xsane-setup-mail.jpgbin0 -> 37467 bytes
-rw-r--r--doc/xsane-setup-save.jpgbin0 -> 34075 bytes
-rw-r--r--doc/xsane-standard.jpgbin0 -> 18374 bytes
-rw-r--r--doc/xsane-store.jpg (renamed from doc/store.jpg)bin790 -> 790 bytes
-rw-r--r--doc/xsane-threshold.jpgbin0 -> 672 bytes
-rw-r--r--doc/xsane-viewer-window.jpgbin0 -> 38185 bytes
-rw-r--r--doc/xsane-viewer.jpgbin0 -> 9724 bytes
-rw-r--r--doc/xsane-visible-area.jpg (renamed from doc/sane-xsane-visible-area.jpg)bin847 -> 847 bytes
-rw-r--r--doc/xsane-zoom-in.jpg (renamed from doc/sane-xsane-zoom-in.jpg)bin1094 -> 1094 bytes
-rw-r--r--doc/xsane-zoom-not.jpg (renamed from doc/sane-xsane-zoom-not.jpg)bin1150 -> 1150 bytes
-rw-r--r--doc/xsane-zoom-out.jpg (renamed from doc/sane-xsane-zoom-out.jpg)bin1128 -> 1128 bytes
-rw-r--r--doc/xsane-zoom-undo.jpg (renamed from doc/sane-xsane-zoom-undo.jpg)bin1101 -> 1101 bytes
-rw-r--r--doc/xsane-zoom.jpgbin0 -> 580 bytes
-rw-r--r--doc/xsane.jpgbin0 -> 10628 bytes
-rw-r--r--doc/xsane.man49
104 files changed, 3342 insertions, 985 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in
index 0099667..6913cd2 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -21,6 +21,7 @@ includedir = @includedir@
oldincludedir = /usr/include
configdir = ${sysconfdir}/sane.d
sanedatadir = ${datadir}/sane
+xsanedocdir = ${datadir}/sane/xsane/doc
MKDIR = $(top_srcdir)/mkinstalldirs
INSTALL = @INSTALL@
@@ -41,6 +42,7 @@ all: $(MANPAGES)
%.1: %.man
sed -e 's|@DATADIR@|$(datadir)|g' \
+ -e 's|@SANEDATADIR@|$(sanedatadir)|g' \
-e 's|@CONFIGDIR@|$(configdir)|g' \
-e 's|@LIBDIR@|$(libdir)|g' \
-e 's|@BINDIR@|$(bindir)|g' \
@@ -53,8 +55,33 @@ install: $(MANPAGES)
$(INSTALL_DATA) $${page} $(mandir)/man1/$${page} || exit 1; \
done
$(MKDIR) $(datadir)
- $(INSTALL_DATA) $(srcdir)/sane-*-doc.html $(sanedatadir)/
- $(INSTALL_DATA) $(srcdir)/*.jpg $(sanedatadir)/
+
+ $(MKDIR) $(xsanedocdir)
+ @for page in *.html; do\
+ echo installing $${page} in $(xsanedocdir)/$${page}...; \
+ $(INSTALL_DATA) $${page} $(xsanedocdir)/$${page} || exit 1; \
+ done
+
+ @for image in *.jpg; do\
+ echo installing $${image} in $(xsanedocdir)/$${image}...; \
+ $(INSTALL_DATA) $${image} $(xsanedocdir)/$${image} || exit 1; \
+ done
+
+uninstall:
+ @for page in $(SECT1); do \
+ echo uninstalling $(mandir)/man1/$${page}...; \
+ rm -f $(mandir)/man1/$${page} || exit 1; \
+ done
+
+ @for page in *.html; do\
+ echo uninstalling $(xsanedocdir)/$${page}...; \
+ rm -f $(xsanedocdir)/$${page} || exit 1; \
+ done
+
+ @for image in *.jpg; do\
+ echo uninstalling $${image} in $(xsanedocdir)/$${image}...; \
+ rm -f $(xsanedocdir)/$${image} || exit 1; \
+ done
docs: ps html
diff --git a/doc/sane-logo.jpg b/doc/sane-logo.jpg
deleted file mode 100644
index 218babf..0000000
--- a/doc/sane-logo.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-logo2.jpg b/doc/sane-logo2.jpg
deleted file mode 100644
index e0f604f..0000000
--- a/doc/sane-logo2.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-pnm16-doc.html b/doc/sane-pnm16-doc.html
deleted file mode 100644
index e6bc487..0000000
--- a/doc/sane-pnm16-doc.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<HTML>
-<HEAD>
- <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
- <META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en] (X11; I; Linux 2.0.36 i586) [Netscape]">
- <META NAME="Author" CONTENT="Oliver Rauch">
- <META NAME="Description" CONTENT="scan, photocopy and fax frontend for SANE">
- <TITLE>SANE - XSane frontend</TITLE>
-</HEAD>
-<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EF" VLINK="#51188E" ALINK="#FF0000">
-
-<BLOCKQUOTE>
-<CENTER>
-<H3>
-<IMG SRC="sane-logo.jpg" HEIGHT=300 WIDTH=256 ALIGN=TEXTTOP></H3></CENTER>
-
-<CENTER>
-<H1>
-PNM16 BACKEND</H1></CENTER>
-
-<CENTER>
-<H1>
-
-<HR WIDTH="100%"></H1></CENTER>
-</BLOCKQUOTE>
-
-<BLOCKQUOTE>
-<CENTER><FONT SIZE=+1>The PNM16 backend is a backend for testing SANE frontends.
-It is not planned to give the user any useful functions!</FONT></CENTER>
-
-<CENTER><FONT SIZE=+1>It reads a pnm image and converts it into a 8-16
-bits/sample image.</FONT></CENTER>
-
-<CENTER><FONT SIZE=+1></FONT>&nbsp;</CENTER>
-
-<CENTER><FONT SIZE=+1></FONT></CENTER>
-
-<CENTER>
-<HR WIDTH="100%"></CENTER>
-</BLOCKQUOTE>
-
-</BODY>
-</HTML>
diff --git a/doc/sane-problems-doc.html b/doc/sane-problems-doc.html
index 085118b..dce66a1 100644
--- a/doc/sane-problems-doc.html
+++ b/doc/sane-problems-doc.html
@@ -30,19 +30,40 @@ with SANE or XSane please read this before you write any mails.</font></font></b
<b><font color="#000000">The SANE frontend (like xsane or xscanimage) does
not start or aborts with a segmentation fault.</font></b></li>
-<p><br><font color="#000000">Edit /usr/local/etc/sane.d/dll.conf (or /usr/etc/sane.d/dll.conf)
+<ul>
+<li>
+<font color="#000000">Edit /usr/local/etc/sane.d/dll.conf (or /usr/etc/sane.d/dll.conf)
and comment out all but the backend you need. To do this add a "#" at the
-beginning of the relevant lines.</font><font color="#000000"></font>
-<p><font color="#000000">If that does not help try to find out where the
-error occurs:</font>
-<br><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gdb
-xscanimage</font>
-<br><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; r
-&lt;enter></font>
-<br><font color="#000000">after the frontend returned:</font>
-<br><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; backtrace
-&lt;enter></font>
-<br>&nbsp;
+beginning of the relevant lines.</font></li>
+
+<li>
+make sure there is only one sane version installed before you compile xsane
+(try as root: $find / -name "*sane*" | less)</li>
+
+<li>
+If you used an earlier version of xsane before remove the configuration
+directory: rm -rf ~/.sane/xsane (you have to enter all configurations again
+afterwards).</li>
+
+<li>
+make sure there is only one gtk-config and only one gimp-config file on
+your system (find / -name "g*-config").</li>
+
+<li>
+Do not install any self compiled source package over binary packages, in
+most cases the installation paths are different so the old versions are
+not overwritten!</li>
+
+<li>
+<font color="#000000">If that does not help try to find out where the error
+occurs:</font></li>
+
+<br><font color="#000000">&nbsp;&nbsp;&nbsp; gdb xscanimage</font>
+<br><font color="#000000">&nbsp;&nbsp;&nbsp; r &lt;enter></font>
+<br><font color="#000000">&nbsp;&nbsp;&nbsp; after the frontend returned:</font>
+<br><font color="#000000">&nbsp;&nbsp;&nbsp; backtrace &lt;enter></font><br>
+<BR></ul>
+
<li>
<b><font color="#000000">The scanner starts the scan but it stops while
scanning</font></b></li>
@@ -101,10 +122,39 @@ of scsi card.</font>
<li>
<font color="#000000">May be your scanner/firmware does not work correct
with the backend you use. Update the backend version or contact the author
-of the backend.</font></li>
+of the backend.</font><br>
+<br>
+<BR></li>
</blockquote>
-<font color="#000000"></font>
-<br>&nbsp;
+
+<li>
+<b><font color="#000000">If you get an error message&nbsp; that libsane-dll.so.1
+or libsane-so.1 is not found, you have to tell your system where the SANE-libraries
+are installed.</font></b></li>
+
+<blockquote>
+<li>
+<font color="#000000">For linux and sane-1.0.1 you have to edit /etc/ld.so.conf
+and add a line with the path to the SANE libraries (normally /usr/local/lib/sane),
+then call ldconfig.</font></li>
+
+<li>
+<font color="#000000">For linux and sane-1.0.2 and later versions the path
+to the SANE libs MUST NOT be listed in /etc/ld.so.conf, if it has been
+listed, remove the path and call ldconfig, then reinstall SANE.</font></li>
+
+<li>
+<font color="#000000">On some systems "/usr/local/lib" is not searched
+for libraries, it may be necessary to add this path. For linux make sure
+that "/usr/local/lib" is listed in /etc/ld.so.conf, call ldconfig as root
+after changing /etc/ld.so.conf.</font></li>
+
+<li>
+<font color="#000000">If all that does not help, make sure that libsane.so.*
+are symbolic links to ./sane/libsane-dll.so.*</font><br>
+<BR></li>
+</blockquote>
+
<li>
<b>Please read the documentation of the backend you use</b></li>
</blockquote>
diff --git a/doc/sane-scantips-doc.html b/doc/sane-scantips-doc.html
index 9a4e45d..2563e9a 100644
--- a/doc/sane-scantips-doc.html
+++ b/doc/sane-scantips-doc.html
@@ -29,20 +29,26 @@ If you are looking for some tips about scanning, desktoppublishing etc,
take a look at these links:</h4>
<blockquote>
-<blockquote>
<li>
<font color="#000000"><a href="http://www.scantips.com/">http://www.scantips.com/</a></font></li>
<li>
-<font color="#000000"><a href="http://www.infomedia.net/scan/">http://www.infomedia.net/scan/</a></font></li>
+<font color="#000000"><a href="http://www.infomedia.net/scan/">http://www.infomedia.net/scan/</a></font>
+</li>
<li>
-<font color="#000000"><a href="http://www.hsdesign.com/scanning/">http://www.hsdesign.com/scanning/</a></font></li>
+<font color="#000000"><a href="http://www.abstractconcreteworks.com/essays/scanning/scanning.html">http://www.abstractconcreteworks.com/essays/scanning/scanning.html/</a></font>
+</li>
<li>
-<font color="#000000"><a href="http://desktoppublishing.com/">http://desktoppublishing.com/</a></font></li>
-</blockquote>
+<font color="#000000"><a href="http://desktoppublishing.com/scanning.html">http://desktoppublishing.com/scanning.html</a></font></li>
</blockquote>
+I have no influence to the contents of the linked pages.
+The content may change at any time whithout my knowledge.
+I am not responsible for any contents linked or referred to.
+
+
+
</body>
</html>
diff --git a/doc/sane-xsane-advanced-doc.html b/doc/sane-xsane-advanced-doc.html
index b294836..e75b06c 100644
--- a/doc/sane-xsane-advanced-doc.html
+++ b/doc/sane-xsane-advanced-doc.html
@@ -2,34 +2,121 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
- <title>XSane - Advanced options</title>
+ <title>XSane - Advanced options window</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
-<br>&nbsp;
+
+<table>
+<td width=200>
+<img SRC="xsane-logo2.jpg" hspace=30 height=150 width=128 align=TOP>
+</td>
+<td>
+<h1><dd><font color="#009900">Advanced options window</font></dd></h1>
+</td>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<blockquote>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</blockquote>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<blockquote>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</blockquote>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
<blockquote>
-<h1>
-<u><font color="#009900">Advanced options window</font></u></h1>
-&nbsp;
-<p>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
-
-<center><img SRC="sane-xsane-advanced.jpg" height=238 width=291></center>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</blockquote>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+
+<blockquote>
+<br>
+<center><img SRC="xsane-advanced.jpg" height=248 width=296></center>
+<br>
+<br>
+<br>
+The advanced options window contains special scanner options
+that should be used by advanced users. XSane does not now anything about
+these options, it only creates this dialog to give the user the possibility
+to take control of these options.
+<p>
+Please read the backend manual if you need any information about
+the functions you find in this window.
+</blockquote>
+</td>
+</table>
<hr WIDTH="100%">
-<center><a href="sane-xsane-doc.html">INDEX</a></center>
-<p><br>
+<blockquote>
+<font size=+1>Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a></font>
+</blockquote>
+
</body>
</html>
diff --git a/doc/sane-xsane-advanced.jpg b/doc/sane-xsane-advanced.jpg
deleted file mode 100644
index 309aa72..0000000
--- a/doc/sane-xsane-advanced.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-color-correction-doc.html b/doc/sane-xsane-color-correction-doc.html
new file mode 100644
index 0000000..62fbfed
--- /dev/null
+++ b/doc/sane-xsane-color-correction-doc.html
@@ -0,0 +1,224 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
+ <meta name="Author" content="Oliver Rauch">
+ <meta name="Description" content="scan, photocopy and fax frontend for SANE">
+ <title>XSane - Color correction</title>
+</head>
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
+
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><u><font color="#009900">Color correction</font></u></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<br>
+<center><img SRC="xsane.jpg" alt="XSane-main-window"></center>
+<br>
+<br>
+<blockquote>
+XSane uses a gamma table to do the following enhancement functions.
+If the scanner supports a custom gamma table (and the option is enabled)
+XSane uses the scanner internal gamma table with the scanner's maximum
+bit depth.
+<br>
+<br>
+<br>
+<img SRC="xsane-gamma.jpg" alt="gamma">
+&nbsp;&nbsp;
+<a NAME="GAMMA"></a><b>Gamma correction:</b>
+
+<blockquote>
+The gamma correction is a non linear correction. Black keeps black and white keeps white
+<blockquote>
+if the gamma value is greater than 1.0 the gray intensities are brightned
+<br>
+if the gamma value is smaller than 1.0 the gray intensities are darkened
+</blockquote>
+</blockquote>
+
+<img SRC="xsane-brightness.jpg" alt="brightness">
+&nbsp;&nbsp;
+<a NAME="BRIGHTNESS"></a><b>Brightness:</b>
+<blockquote>
+positive values increase the brightness of the image. All values
+are increased by the same value. 100% means a shift of the half value range
+(on 8 bits (256 values) this means a shift of 128).
+</blockquote>
+
+<img SRC="xsane-contrast.jpg" alt="contrast">
+&nbsp;&nbsp;
+<a NAME="CONTRAST"></a><b>Contrast:</b>
+<blockquote>
+positive values increase the contrast of the image. Medium gray keeps medium gray (8 bits: 128)
+<blockquote>
+-100% means that all colors become medium gray
+<br>
++100% means that the difference between a value and medium gray is doubled
+</blockquote>
+</blockquote>
+
+<img SRC="xsane-threshold.jpg" alt="threshold">
+&nbsp;&nbsp;
+<a NAME="THRESHOLD"></a><b>Threshold:</b>
+<blockquote>
+defines the brightness level in % that is needed to get a white
+point in lineart (black/white) mode. You have to enter some options in
+the <a href="sane-xsane-setup-enhancement-doc.html">enhancement setup</a> and the
+backend needs to make available a threshold option.
+</blockquote>
+
+<img SRC="xsane-rgb-default.jpg" alt="rgb-default">
+&nbsp;&nbsp;
+<a NAME="RGB_DEFAULT"></a><b>RGB default:</b>
+<blockquote>
+if RGB default is activated, all values for the color components
+(red, green and blue) are set to the default values (gamma=1.0, brightness=0%,
+contrast=0%). If you deactivate it, you can set different enhancement values
+for each color.
+</blockquote>
+
+<img SRC="xsane-negative.jpg" alt="negative">
+&nbsp;&nbsp;
+<a NAME="NEGATIVE"></a><b>Negative:</b>
+<blockquote>
+This option inverts the intensities (black &lt;-> white). It
+is for scanning negatives.
+<br>
+<br>
+Negatives do not only have inverted colors, it also is necessary to
+do a color correction for each color component because the negatives have
+very different color ranges for each color.
+</blockquote>
+
+<img SRC="xsane-autoenhance.jpg" alt="autoenhance">
+&nbsp;&nbsp;
+<a NAME="AUTO_ENHANCEMENT"></a><b>Autoenhancement:</b>
+<blockquote>
+If you press this button XSane tries to set good values for
+brightness, contrast and gamma correction in dependance of the selected
+part in the preview window. This does work quiet well for brightness and
+contrast, but the gamma correction normally has to be corrected manually.
+<br>If RGB default is disabled, the components for each color are set individually.
+</blockquote>
+
+<img SRC="xsane-default.jpg" alt="default">
+&nbsp;&nbsp;
+<a NAME="ENHANCEMENT_DEFAULT"></a><b>Enhancement default:</b>
+<blockquote>
+Sets the enhancement values to default: gamma=1.0, brightness=0%, contrast=0%.
+</blockquote>
+
+<img SRC="xsane-restore.jpg" alt="restore">
+&nbsp;&nbsp;
+<a NAME="RESTORE_ENHANCEMENT"></a><b>Restore enhancement:</b>
+<blockquote>
+Restores the enhancement values from preferences.
+</blockquote>
+
+<img SRC="xsane-store.jpg" alt="store">
+&nbsp;&nbsp;
+<a NAME="MEMORY_ENHANCEMENT"></a><b>Store enhancement (Memory):</b>
+<blockquote>
+Store selected enhancement values to preferences.
+</blockquote>
+</blockquote>
+</td>
+</tr>
+</table>
+
+<hr WIDTH="100%">
+
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
+</body>
+</html>
+
diff --git a/doc/sane-xsane-copy-doc.html b/doc/sane-xsane-copy-doc.html
index e0f0b07..549052a 100644
--- a/doc/sane-xsane-copy-doc.html
+++ b/doc/sane-xsane-copy-doc.html
@@ -1,40 +1,166 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
<title>XSane - Copy mode</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
-<blockquote>&nbsp;
-<h1>
-<u><font color="#009900">Copy mode</font></u></h1>
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 height=150 width=128 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><font color="#009900">Main window in copy mode</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+In Copy mode, the scanned image is sent directly to the selected printer.
+<br>
+<br>
+<br>
+<center><img SRC="xsane-copy.jpg" alt="XSane-main-window"></center>
+<br>
+<br>
+<img SRC="xsane-colormode.jpg" alt="colormode">
+&nbsp;&nbsp;
+<b>Scanmode:</b>
+<blockquote>
+Select scanmode, e.g.: color, grayscale, halftone, lineart.
+</blockquote>
+
+<img SRC="xsane-scansource.jpg" alt="scansource">
+&nbsp;&nbsp;
+<b>Scansource:</b>
+<blockquote>
+Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder.
</blockquote>
-<blockquote>&nbsp;In Copy mode, the scanned image is converted to postscript.
-The postscript file is piped as standard input to the command listed after
-the printer symbol.
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
+<img SRC="xsane-medium.jpg" alt="medium">
+&nbsp;&nbsp;
+<b>Scanmedium:</b>
+<blockquote>
+Select scanmedium, e.g.: <i>slide</i>, <i>standard negative</i>,
+<i>Agfa negative</i>, ... or <i>Full range</i>.
+</blockquote>
-<center><img SRC="sane-xsane-copy.jpg" height=416 width=270></center>
+<img SRC="xsane-printer.jpg" alt="printer">
+&nbsp;&nbsp;
+<b>Printer:</b>
+<blockquote>
+Select the printer on which the scanned image shall be printed. In the box
+with the number you can select the number of copies that shall be created.
+</blockquote>
+
+
+<img SRC="xsane-zoom.jpg" alt="zoom">
+&nbsp;&nbsp;
+<b>Zoom factor:</b>
+<blockquote>
+Select the zoom factor for the photocopy. XSane automatically selects the
+correct scan resolution in dependance of the zoom factor and the defined
+printer resolutions.
-<blockquote>&nbsp;
-<br>The options of the printer and the printer command can be set in the
-menu
-<a href="sane-xsane-setup-printer-doc.html">Preferences/Setup</a></blockquote>
+</blockquote>
+</blockquote>
+<blockquote>
+The options of the printer and the printer command can be set in the menu
+<a href="sane-xsane-setup-copy-doc.html">Preferences/Setup</a>
+</blockquote>
+</td>
+</tr>
+</table>
<hr WIDTH="100%">
-<center><a href="sane-xsane-doc.html">INDEX</a></center>
-<p><br>
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
</body>
</html>
diff --git a/doc/sane-xsane-copy.jpg b/doc/sane-xsane-copy.jpg
deleted file mode 100644
index 13c1cd9..0000000
--- a/doc/sane-xsane-copy.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-doc.html b/doc/sane-xsane-doc.html
index 9956e12..dc01e34 100644
--- a/doc/sane-xsane-doc.html
+++ b/doc/sane-xsane-doc.html
@@ -1,232 +1,173 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
<title>XSane - Documentation index</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 height=150 width=128 align=TOP>
+</td>
+<td>
<blockquote>
-<h1>
-<br>
-<BR></h1>
+<h1><font color="#009900">Index of XSane documentation</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
-<h1>
-</h1>
-<h1>
-</h1>
+<hr WIDTH="100%">
-<h1>
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
<br>
-<u><font color="#009900">Index of xsane documentation</font></u></h1>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
-<blockquote>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
-</blockquote>
-<blockquote>
-<li>
-<font color="#000000"><font size=+1>Xsane modes:</font></font></li>
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
<blockquote>
+<br>
+<h3><font color="#009900"><u>What is XSane?</u></font></h3>
<blockquote>
-<li>
-<font color="#000000"><a href="sane-xsane-scan-doc.html">Scan mode</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-copy-doc.html">Copy mode</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-fax-doc.html">Fax mode</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></font></li>
-</blockquote>
+XSane is a graphical scanning frontend for
+<a href="http://www.mostang.com/sane">SANE</a> (Scanner Access Now Easy).
+It uses the
+<a href="http://www.mostang.com/sane">SANE-library</a> to talk to
+scanners. This means that XSane does not support any scanners itself.
+Here you can find out
+<a href="http://www.mostang.com/sane/sane-backends.html">
+which scanners are supported by the SANE-library</a>.
+<p>
+XSane is designed for acquiring images with scanners (there are other
+devices like cameras and videodevices supported by SANE, but XSane is
+not designed for that purpose). You can scan to file, do a photocopy,
+create a fax and start XSane from the GIMP as gimp plugin.
</blockquote>
-
-<li>
-<font color="#000000"><font size=+1>Scanner option windows:</font></font></li>
-
+<p>
+<h3><font color="#009900"><u>Setup:</u></font></h3>
<blockquote>
-<blockquote>
-<li>
-<font color="#000000"><a href="sane-xsane-standard-doc.html">Standard options
-window</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-advanced-doc.html">Advanced options
-window</a></font></li>
-</blockquote>
+Before you start scanning please go through all setup pages. XSane may not work
+correct or you may not be able to get advance of all functions if you do not configure
+XSane correct.
+
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
</blockquote>
-<li>
-<font color="#000000"><font size=+1><a href="sane-xsane-preview-doc.html">Preview</a></font></font></li>
-<blockquote>
-<blockquote>
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette
-white</a></font></li>
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette
-gray</a></font></li>
+<h3><font color="#009900"><u>Homepage of XSane:</u></font></h3>
+<ul>
+<li><a href="http://www.xsane.org">www.xsane.org</a></li>
<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette
-black</a></font></li>
+XSane is available as
+<a href="http://www.xsane.org/xsane-download-source.html">source code</a>
+for unix systems and Win32.
+</li>
<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></font></li>
+There also is a
+<a href="http://www.xsane.org/xsane-win32.html">binary version for Win32</a>
+(Windows 9x, 2000, NT, ME) for network scanning.
+</li>
+</ul>
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom
-out</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom
-in</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo
-zoom</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select
-visible area</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select
-scanarea</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move
-scanarea</a></font></li>
-
-<br>&nbsp;</blockquote>
-</blockquote>
-
-<li>
-<font color="#000000"><font size=+1><a href="sane-xsane-enhancement-doc.html">Enhancement
-functions</a>:</font></font></li>
-
-<blockquote>
+<h3><font color="#009900"><u>Author of XSane:</u></font></h3>
<blockquote>
-<li>
-<font color="#000000"><a href="sane-xsane-enhancement-doc.html#GAMMA">Gamma
-correction</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-enhancement-doc.html#BRIGHTNESS">Brightness</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-enhancement-doc.html#CONTRAST">Contrast</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-enhancement-doc.html#RGB_DEFAULT">RGB
-default</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-enhancement-doc.html#NEGATIVE">Negative</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-enhancement-doc.html#AUTOENHANCEMENT">Autoenhancement</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-enhancement-doc.html#ENHANCEMENT_DEFAULT">Enhancement
-default</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-enhancement-doc.html#RESTORE_ENHANCEMENT">Restore
-enhancement</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-enhancement-doc.html#STORE_ENHANCEMENT">Store
-enhancement</a></font></li>
-
-<br>&nbsp;
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette
-white</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette
-gray</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette
-black</a></font></li>
-
-<br>&nbsp;
-<li>
-<font color="#000000"><a href="sane-xsane-histogram-doc.html">Histogram
-window</a></font></li>
-
-<li>
-<font color="#000000">Highlight/White point</font></li>
-
-<li>
-<font color="#000000">Shadow/Black point</font></li>
-
-<li>
-<font color="#000000">Gamma/Gray point</font></li>
+<a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
</blockquote>
-</blockquote>
-
-<li>
-<font color="#000000"><font size=+1>Setup:</font></font></li>
-<blockquote>
-<blockquote>
-<li>
-<font color="#000000"><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-setup-display-doc.html">Display
-setup</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-setup-save-doc.html">Saving setup</a></font></li>
-
-<li>
-<font color="#000000"><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></font></li>
-</blockquote>
</blockquote>
+</td>
+</tr>
+</table>
-<li>
-<font color="#000000"><font size=+1>Supported functions:</font></font></li>
+<hr WIDTH="100%">
<blockquote>
-<blockquote>
-<li>
-<font color="#000000">Support for 9-16 bits/sample</font></li>
-
-<li>
-<font color="#000000">Output formats</font></li>
-
-<li>
-<font color="#000000">Automatic filename generation</font></li>
-
-<li>
-<font color="#000000">Automatic Document Feeder</font></li>
-</blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
</blockquote>
-</blockquote>
-
-<hr WIDTH="100%">
-<blockquote><font size=+1>Author: <a href="mailto:Oliver.Rauch@Wolfsburg.DE">Oliver
-Rauch</a></font>
-<p><font size=+1><a href="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">Homepage
-of xsane</a></font></blockquote>
</body>
</html>
diff --git a/doc/sane-xsane-empty-doc.html b/doc/sane-xsane-empty-doc.html
new file mode 100644
index 0000000..a3c8227
--- /dev/null
+++ b/doc/sane-xsane-empty-doc.html
@@ -0,0 +1,107 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
+ <meta name="Author" content="Oliver Rauch">
+ <meta name="Description" content="scan, photocopy and fax frontend for SANE">
+ <title>XSane - Documentation index</title>
+</head>
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
+
+
+<table>
+<td width=200>
+<img SRC="xsane-logo2.jpg" hspace=30 height=150 width=128 align=TOP>
+</td>
+<td>
+<h1><dd><font color="#009900">Index of XSane documentation</font></dd></h1>
+</td>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<blockquote>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</blockquote>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<blockquote>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</blockquote>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<blockquote>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</blockquote>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+</td>
+</table>
+
+<hr WIDTH="100%">
+
+<blockquote>
+<font size=+1>Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a></font>
+</blockquote>
+
+</body>
+</html>
diff --git a/doc/sane-xsane-enhancement-doc.html b/doc/sane-xsane-enhancement-doc.html
deleted file mode 100644
index 32c1d05..0000000
--- a/doc/sane-xsane-enhancement-doc.html
+++ /dev/null
@@ -1,101 +0,0 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
- <meta name="Author" content="Oliver Rauch">
- <meta name="Description" content="scan, photocopy and fax frontend for SANE">
- <title>XSane - Enhancement</title>
-</head>
-<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
-
-<br>&nbsp;
-<blockquote>
-<h1>
-<u><font color="#009900">Enhancement</font></u></h1>
-XSane uses a gamma table to do the following enhancement functions. If
-the scanner supports a custom gamma table (and the option is enabled) XSane
-uses the scanner internal gamma table with the scanner's maximum bit depth.</blockquote>
-
-<center><img SRC="sane-xsane.jpg" height=416 width=270></center>
-
-<blockquote>&nbsp;
-<dt>
-<img SRC="gamma.jpg" height=21 width=22><a NAME="GAMMA"></a><b> Gamma correction:</b></dt>
-
-<blockquote>The gamma correction is a non linear correction. Black keeps
-black and white keeps white
-<blockquote>if the gamma value is greater than 1.0 the gray intensities
-are brightned
-<br>if the gamma value is smaller than 1.0 the gray intensities are darkend</blockquote>
-</blockquote>
-
-<dt>
-<img SRC="brightness.jpg" height=21 width=22><a NAME="BRIGHTNESS"></a><b> Brightness:</b></dt>
-
-<blockquote>positive values increase the brightness of the image. All values
-are increased by the same value. 100% means a shift of the half value range
-(on 8 bits (256 values) this means a shift of 128).</blockquote>
-
-<dt>
-<img SRC="contrast.jpg" height=21 width=22><a NAME="CONTRAST"></a><b> Contrast:</b></dt>
-
-<blockquote>positive values increase the contrast of the image. Medium
-gray keeps medium gray (8 bits: 128)
-<blockquote>-100% means that all colors become medium gray
-<br>+100% means that the difference between a value and medium gray is
-doubled</blockquote>
-</blockquote>
-
-<dt>
-<img SRC="rgb-default.jpg" height=26 width=26><a NAME="RGB_DEFAULT"></a><b> RGB default:</b></dt>
-
-<blockquote>if RGB default is activated, all values for the color components
-(red, green and blue) are set to the default values (gamma=1.0, brightness=0%,
-contrast=0%). If you deactivate it, you can set different enhancement values
-for each color.</blockquote>
-
-<dt>
-<img SRC="negative.jpg" height=26 width=26><a NAME="NEGATIVE"></a><b> Negative:</b></dt>
-
-<blockquote>This option inverts the intensities (black &lt;-> white).
-It is for scanning negatives.
-<p>Negatives do not only have inverted colors, it also is necessary
-to do a color correction for each color component because the negatives
-have very different color ranges for each color.</blockquote>
-
-<dt>
-<img SRC="autoenhance.jpg" height=26 width=26><a NAME="AUTO_ENHANCEMENT"></a><b> Autoenhancement:</b></dt>
-
-<blockquote>If you press this button XSane tries to set good values
-for brightness, contrast and gamma correction independance of the selected
-part in the preview window. This does work quiet well for brightness and
-contrast, but the gamma correction normally has to be corrected manually.</b>
-<br>If RGB default is disabled, the components for each color are set
-individually.</blockquote>
-
-<img SRC="default.jpg" height=26 width=26><a NAME="ENHANCEMENT_DEFAULT"></a><b> Enhancement default:</b>
-<blockquote>Sets the enhancement values to default: gamma=1.0, brightness=0%,
-contrast=0%.</blockquote>
-
-<dt>
-<img SRC="restore.jpg" height=26 width=26><a NAME="RESTORE_ENHANCEMENT"></a><b> Restore enhancement:</b></dt>
-
-<blockquote>Restores the enhancement values from preferences.</blockquote>
-
-<dt>
-<img SRC="store.jpg" height=26 width=26><a NAME="MEMORY_ENHANCEMENT"></a><b> Store enhancement (Memory):</b></dt>
-
-<blockquote>tore selected enhancement values to preferences.</blockquote>
-</blockquote>
-
-<center>
-<hr WIDTH="100%">
-<br><b><a href="../../c/sane/xsane/doc/sane-xsane-doc.html">INDEX</a></b></center>
-
-<p><br>
-</body>
-</html>
diff --git a/doc/sane-xsane-fax-doc.html b/doc/sane-xsane-fax-doc.html
index 5eaf593..db0ca86 100644
--- a/doc/sane-xsane-fax-doc.html
+++ b/doc/sane-xsane-fax-doc.html
@@ -1,39 +1,172 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
<title>XSane - Fax mode</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-<blockquote>
-<h3>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></h3>
-&nbsp;</blockquote>
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 height=150 width=128 align=TOP>
+</td>
+<td>
<blockquote>
-<h1>
-<u><font color="#009900">Fax mode</font></u></h1>
-This mode is a Frontend for SANE and for a faxprogram like hylafax or mgetty+sendfax
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
+<h1><font color="#009900">Main window in fax mode</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
-<center><img SRC="sane-xsane-fax.jpg" height=380 width=270>&nbsp;&nbsp;&nbsp;<img SRC="sane-xsane-fax-project.jpg" height=260 width=208></center>
-<p><br>
-<blockquote>You need to have a faxprogram like hylafax(1) or mgetty+sendfax(8)
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+This mode is a frontend for SANE and for a faxprogram like hylafax or mgetty+sendfax.
+<br>
+You need to have a faxprogram like hylafax(1) or mgetty+sendfax(8)
installed. The faxcommand and the options must be specified in the menu
-<a href="sane-xsane-setup-doc.html">Preferences/Setup</a>.</blockquote>
+<a href="sane-xsane-setup-fax-doc.html">Preferences/Setup:Fax Options</a>.
+<br>
+<br>
+<br>
+<center><img SRC="xsane-fax.jpg" alt="XSane-main-window"></center>
+<br>
+<br>
+<img SRC="xsane-colormode.jpg" alt="colormode">
+&nbsp;&nbsp;
+<b>Scanmode:</b>
+<blockquote>
+Select scanmode, e.g.: color, grayscale, halftone, lineart.
+</blockquote>
+
+<img SRC="xsane-scansource.jpg" alt="scansource">
+&nbsp;&nbsp;
+<b>Scansource:</b>
+<blockquote>
+Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder.
+</blockquote>
+
+<img SRC="xsane-medium.jpg" alt="medium">
+&nbsp;&nbsp;
+<b>Scanmedium:</b>
+<blockquote>
+Select scanmedium, e.g.: <i>slide</i>, <i>standard negative</i>,
+<i>Agfa negative</i>, ... or <i>Full range</i>.
+</blockquote>
+
+<br>
+<br>
+<center><img SRC="xsane-fax-project.jpg" alt="XSane-fax-project-indow"></center>
+<br>
+
+<h4>FINE MODE:</h4>
+<blockquote>
+The faxpages are always scanned in fine mode (204 dpi * 196 lpi). If
+<i>Fine mode</i> is enabled when the project is sent all pages are sent with
+ 196lpi (fine mode), otherwise all pages are sent with 98lpi (normal mode).
+</blockquote>
+
+<h4>INSERT FILE:</h4>
+<blockquote>
+You can add an external created postscript file to the fax project. The file is copied
+to the fax project directory.
+</blockquote>
+
+<h4>SHOW PAGE:</h4>
+<blockquote>
+A postscrip viewer is called to display the selected page.
+</blockquote>
+<br>
+</blockquote>
+</td>
+</tr>
+</table>
<hr WIDTH="100%">
-<center><a href="sane-xsane-doc.html">INDEX</a></center>
-<p><br>
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
</body>
</html>
+
diff --git a/doc/sane-xsane-fax-project.jpg b/doc/sane-xsane-fax-project.jpg
deleted file mode 100644
index 03048b8..0000000
--- a/doc/sane-xsane-fax-project.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-fax.jpg b/doc/sane-xsane-fax.jpg
deleted file mode 100644
index 60d1065..0000000
--- a/doc/sane-xsane-fax.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-gimp-doc.html b/doc/sane-xsane-gimp-doc.html
index 7c4a49e..447c8e4 100644
--- a/doc/sane-xsane-gimp-doc.html
+++ b/doc/sane-xsane-gimp-doc.html
@@ -1,60 +1,206 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
<title>XSane - Gimp plugin</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
<blockquote>
-<h1>
-<u><font color="#009900">Xsane as Gimp plugin</font></u></h1>
-<font color="#000000">If xsane is started as Gimp plugin, the scanned image
-automatically is transfered to the Gimp.</font>
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
+<h1><font color="#009900">Main window of gimp plugin</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
-<center><img SRC="sane-xsane-gimp.jpg" height=350 width=270></center>
-<blockquote>&nbsp;
-<p>To start xsane as a gimp plugin, you have to set a symbolic link from
-the xsane binary to a GIMP plug-ins directory. If xsane is located in /usr/local/bin&nbsp;
-and you use-gimp-1.0.x do:
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+If XSane is started as Gimp plugin, the scanned image automatically is transfered to the Gimp.
+<br>
+<br>
+<br>
+<center><img SRC="xsane-gimp.jpg" alt="XSane-main-window"></center>
+<br>
+<br>
+<img SRC="xsane-colormode.jpg" alt="colormode">
+&nbsp;&nbsp;
+<b>Scanmode:</b>
+<blockquote>
+Select scanmode, e.g.: color, grayscale, halftone, lineart.
+</blockquote>
+
+<img SRC="xsane-scansource.jpg" alt="scansource">
+&nbsp;&nbsp;
+<b>Scansource:</b>
+<blockquote>
+Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder.
+</blockquote>
+
+<img SRC="xsane-medium.jpg" alt="medium">
+&nbsp;&nbsp;
+<b>Scanmedium:</b>
+<blockquote>
+Select scanmedium, e.g.: <i>slide</i>, <i>standard negative</i>,
+<i>Agfa negative</i>, ... or <i>Full range</i>.
+</blockquote>
+
+<img SRC="xsane-resolution.jpg" alt="resolution">
+&nbsp;&nbsp;
+<b>Scan resolution:</b>
+<blockquote>
+Select resolution that is used for scanning. If the backends makes available a
+range of resolutions (e.g. 100-600 dpi) XSane can display a slider or a
+list of resolutions. You select this via <i>Preferences/Show resolution list</i>.
+<br>
+The backend can define a list of resolutions insted of a range, in this
+case it is not possible to enable the slider.
+<p>
+To select exact resolutions with the slider click the slider with the mouse pointer
+and use the cursor keys to change the value in steps of 1, if you press <i>ctrl</i>
+and a cursor key the step is 10.
+</blockquote>
+<br>
+<br>
+To start xsane as a GIMP plugin, you have to set a symbolic link from
+the xsane binary to a GIMP plug-ins directory. In the following examples
+we assume that xsane is located in /usr/local/bin:
+<br>
+<br>
+<br>
+gimp-1.0.x:
<blockquote>
<pre>ln -s /usr/local/bin/xsane ~/.gimp/plug-ins/</pre>
+You can start xsane from the GIMP menu <i>Xtns/Xsane </i>
</blockquote>
-if you use gimp-1.1.x, you have to do:
+<br>
+<br>
+gimp-1.1.x:
<blockquote>
<pre>ln -s /usr/local/bin/xsane ~/.gimp-1.1/plug-ins/</pre>
+until gimp-1.1.9 you can start xsane from the GIMP menu <i>Xtns/Xsane </i>
+<br>
+since gimp-1.1.10 you can start xsane from the GIMP menu <i>File/Acquire</i>
+</blockquote>
+<br>
+<br>
+gimp-1.2.x:
+<blockquote>
+<pre>ln -s /usr/local/bin/xsane ~/.gimp-1.2/plug-ins/</pre>
+You can start xsane from the GIMP menu<i> File/Acquire.</i>
+</blockquote>
+<br>
+<br>
+The GIMP´s XSane or Acquire menu contains short-cuts to the SANE devices that
+were available at the time xsane was queried.
</blockquote>
-You can start xsane from the GIMP menu <i>Xtns/Xsane </i>if GIMP-version
-&lt; 1.1.9, since GIMP-version-1.1.9 you can start xsane from the GIMP
-menu<i> File/Acquire.</i> It contains short-cuts to the SANE devices that
-were available at the time xsane was queried.</blockquote>
-
-<blockquote>Note that gimp(1) caches these short-cuts in ~/.gimp/pluginrc.
-Thus, when the list of&nbsp; available devices changes (e.g., a new scanner
-is installed or the device of the scanner has changed),&nbsp; then it is
-typically desirable to rebuild this cache. To do this, you can either&nbsp;
-touch(1) the xsane binary (e.g.,"touch&nbsp; /usr/local/bin/xsane") or
-delete the plugin cache (e.g.,&nbsp; "rm&nbsp; ~/.gimp/pluginrc"). Either
+
+<blockquote>
+Note that gimp(1) caches these short-cuts in ~/.gimp/pluginrc.
+Thus, when the list of available devices changes (e.g., a new scanner
+is installed or the device of the scanner has changed), then it is
+typically desirable to rebuild this cache. To do this, you can either
+touch(1) the xsane binary (e.g.,"touch /usr/local/bin/xsane") or
+delete the plugin cache (e.g., "rm ~/.gimp*/pluginrc"). Either
way, invoking gimp(1) afterwards will cause the pluginrc to be rebuilt.
-<p>If xsane is started as GIMP plugin it always sends the scanned image
-to the GIMP, copy- or fax- mode can not selected when xsane runs as GIMP
-plugin!</blockquote>
+<br>
+<br>
+If xsane is started as GIMP plugin it always sends the scanned image to the GIMP.
+Copy and fax mode can not selected when xsane runs as GIMP plugin!
+</blockquote>
+</td>
+</tr>
+</table>
+
+<hr WIDTH="100%">
-<center>
-<p><br>
-<hr WIDTH="100%"><a href="sane-xsane-doc.html">INDEX</a></center>
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
-<p><br>
</body>
</html>
diff --git a/doc/sane-xsane-gimp.jpg b/doc/sane-xsane-gimp.jpg
deleted file mode 100644
index f183d42..0000000
--- a/doc/sane-xsane-gimp.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-histogram-doc.html b/doc/sane-xsane-histogram-doc.html
index 736bde9..6014083 100644
--- a/doc/sane-xsane-histogram-doc.html
+++ b/doc/sane-xsane-histogram-doc.html
@@ -2,34 +2,105 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
- <title>XSane - Histogram</title>
+ <title>XSane - Histogram window</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
+
+<table>
+<td width=200>
+<img SRC="xsane-logo2.jpg" hspace=30 height=150 width=128 align=TOP>
+</td>
+<td>
+<h1><dd><font color="#009900">Histogram window</font></dd></h1>
+</td>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
<blockquote>
-<h1>
-<u><font color="#009900">Histogram window</font></u></h1>
-&nbsp;
-<p>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
-
-<center><img SRC="sane-xsane-histogram.jpg" height=362 width=278></center>
-
-<p><br>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</blockquote>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<blockquote>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</blockquote>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
<blockquote>
-<blockquote>The histogram shows the color density of the area that is selected
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</blockquote>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<br>
+<center><img SRC="xsane-histogram.jpg" height=366 width=278></center>
+<br>
+<br>
+<br>
+<blockquote>
+The histogram shows the color density of the area that is selected
in the preview window. The top histogram represents the scanned raw image,
the bottom histogram represents the enhanced image. In grayscale mode,
there are three sliders in the gray range. The black slider defines the
@@ -38,18 +109,26 @@ point (gamma). If the <i>rgb default button</i> (in the xsane main window)
is not selected in color mode there are also sliders in the red, the green
and the blue range. In this case a move of a slider of the gray range also
moves the sliders of the color ranges.
-<p>The <i>I</i>, <i>R</i>, <i>G</i> and <i>B</i> buttons define if the
-<i>intensity</i>, <i>red</i>, <i>green</i> and/or <i>blue</i> histogram
-components are shown.
-<p>The curve-type button defines if the histogram curves are shown with
+<p>
+The <i>I</i>, <i>R</i>, <i>G</i> and <i>B</i> buttons define if the
+<i>intensity</i>, <i>red</i>, <i>green</i> and/or <i>blue</i>
+histogram components are shown.
+<p>
+The curve-type button defines if the histogram curves are shown with
pixels or with lines.
-<p>The <i>LOG</i> button defines if the densities are displayed linear
-or logarithmical.</blockquote>
+<p>
+The <i>LOG</i> button defines if the densities are displayed linear
+or logarithmical.
</blockquote>
+</td>
+</table>
+
<hr WIDTH="100%">
-<center><a href="sane-xsane-doc.html">INDEX</a></center>
-<p><br>
+<blockquote>
+<font size=+1>Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a></font>
+</blockquote>
+
</body>
</html>
diff --git a/doc/sane-xsane-histogram.jpg b/doc/sane-xsane-histogram.jpg
deleted file mode 100644
index a13a912..0000000
--- a/doc/sane-xsane-histogram.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-mail-doc.html b/doc/sane-xsane-mail-doc.html
new file mode 100644
index 0000000..0b70ed3
--- /dev/null
+++ b/doc/sane-xsane-mail-doc.html
@@ -0,0 +1,163 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
+ <meta name="Author" content="Oliver Rauch">
+ <meta name="Description" content="scan, photocopy and fax frontend for SANE">
+ <title>XSane - Scan mode</title>
+</head>
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
+
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 height=150 width=128 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><font color="#009900">Main window in save mode</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+In the mail mode images are scanned and sent by email.
+<br>
+<br>
+<br>
+<center><img SRC="xsane-mail.jpg" alt="XSane-main-window"></center>
+<br>
+<br>
+
+<img SRC="xsane-colormode.jpg" alt="colormode">
+&nbsp;&nbsp;
+<b>Scanmode:</b>
+<blockquote>
+Select scanmode, e.g.: color, grayscale, halftone, lineart.
+</blockquote>
+
+<img SRC="xsane-scansource.jpg" alt="scansource">
+&nbsp;&nbsp;
+<b>Scansource:</b>
+<blockquote>
+Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder.
+</blockquote>
+
+<img SRC="xsane-medium.jpg" alt="medium">
+&nbsp;&nbsp;
+<b>Scanmedium:</b>
+<blockquote>
+Select scanmedium, e.g.: <i>slide</i>, <i>standard negative</i>,
+<i>Agfa negative</i>, ... or <i>Full range</i>.
+</blockquote>
+
+<img SRC="xsane-resolution.jpg" alt="resolution">
+&nbsp;&nbsp;
+<b>Scan resolution:</b>
+<blockquote>
+Select resolution that is used for scanning. If the backends makes available a
+range of resolutions (e.g. 100-600 dpi) XSane can display a slider or a
+list of resolutions. You select this via <i>Preferences/Show resolution list</i>.
+<br>
+The backend can define a list of resolutions insted of a range, in this
+case it is not possible to enable the slider.
+<p>
+To select exact resolutions with the slider click the slider with the mouse pointer
+and use the cursor keys to change the value in steps of 1, if you press <i>ctrl</i>
+and a cursor key the step is 10.
+</blockquote>
+
+
+</blockquote>
+</td>
+</tr>
+</table>
+
+<hr WIDTH="100%">
+
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
+</body>
+</html>
+
diff --git a/doc/sane-xsane-main-doc.html b/doc/sane-xsane-main-doc.html
index b3f0a42..4f5c2da 100644
--- a/doc/sane-xsane-main-doc.html
+++ b/doc/sane-xsane-main-doc.html
@@ -31,7 +31,7 @@
<H1>
<U><FONT COLOR="#009900">The main window</FONT></U></H1>
&nbsp;
-<CENTER><IMG SRC="sane-xsane.jpg" HEIGHT=443 WIDTH=306></CENTER>
+<CENTER><IMG SRC="xsane.jpg" HEIGHT=443 WIDTH=306></CENTER>
<CENTER>&nbsp;</CENTER>
</BLOCKQUOTE>
diff --git a/doc/sane-xsane-preview-doc.html b/doc/sane-xsane-preview-doc.html
index 996d21d..2617e34 100644
--- a/doc/sane-xsane-preview-doc.html
+++ b/doc/sane-xsane-preview-doc.html
@@ -1,173 +1,266 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
- <title>XSane - Preview</title>
+ <title>XSane - Preview window</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
<blockquote>
-<h3>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></h3>
-&nbsp;
-<p>&nbsp;</blockquote>
+<h1><font color="#009900">Preview window</font></h1>
+</blockquote>
+
+</td>
+</tr>
+</table>
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
<blockquote>
-<h1>
-<u><font color="#009900">Preview window</font></u></h1>
+<br>
The preview window is to select an area that you want to scan. You can
resize the preview window and zoom into the scan area.
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
-
-<center><img SRC="sane-xsane-preview.jpg" height=643 width=407></center>
-
-<p><br>
-<blockquote>&nbsp;
-<br>With the smaller, black dashed frame in the preview you select the
-area that shall be scanned. The larger, red dashed frame is only available
-in COPY-mode, it shows the size of the page of the selected printer relative
-to the zoom scale.</blockquote>
-
-<blockquote><img SRC="sane-xsane-pipette-white.jpg" height=26 width=27><a NAME="PIPETTE_WHITE"></a><b><u>Pipette
-white:</u></b>
-<blockquote>Use mouse pointer and click a point that shall be white. If
+<br>
+<br>
+<br>
+<center><img SRC="xsane-preview.jpg" alt="preview-window"></center>
+<br>
+<blockquote>
+<br>With the smaller, black/white dashed frame in the preview you select the
+area that shall be scanned. The larger, red/green dashed frame is only
+available in COPY-mode (and when you scan to a postscript file). It shows
+the size of the page of the selected printer relative to the zoom scale.
+</blockquote>
+
+<img SRC="xsane-pipette-white.jpg" alt="pipette-white">
+&nbsp;&nbsp;
+<a NAME="PIPETTE_WHITE"></a><b><u>Pipette white:</u></b>
+<blockquote>
+Use mouse pointer and click a point that shall be white. If
you use the left mouse button only the intensity is used to calculate the
white point. If <i>RGB default</i> (main window) is not activated you can
use the middle mouse button to define the white point for each color component.
-You can abort the selection by pressing the right mouse button.</blockquote>
-
-<dt>
-<img SRC="sane-xsane-pipette-gray.jpg" height=26 width=28>&nbsp;<a NAME="PIPETTE_GRAY"></a><b><u>Pipette
-gray:</u></b></dt>
+You can abort the selection by pressing the right mouse button.
+</blockquote>
+<img SRC="xsane-pipette-gray.jpg" alt="pipette-gray">
+&nbsp;&nbsp;
+<a NAME="PIPETTE_GRAY"></a><b><u>Pipette gray:</u></b>
<blockquote>
-<dt>
Use mouse pointer and click a point that shall be medium gray. If you use
-the left mouse button only the intensity is used to calculate the white
+the left mouse button only the intensity is used to calculate the gray
point. If <i>RGB default</i> (main window) is not activated you can use
-the middle mouse button to define the white point for each color component.
-You can abort the selection by pressing the right mouse button.</dt>
+the middle mouse button to define the gray point for each color component.
+You can abort the selection by pressing the right mouse button.
</blockquote>
-<dt>
-<img SRC="sane-xsane-pipette-black.jpg" height=26 width=26>&nbsp;<a NAME="PIPETTE_BLACK"></a><b><u>Pipette
-black:</u></b></dt>
-
+<img SRC="xsane-pipette-black.jpg" alt="pipette-black">
+&nbsp;&nbsp;
+<a NAME="PIPETTE_BLACK"></a><b><u>Pipette black:</u></b>
<blockquote>
-<dt>
Use mouse pointer and click a point that shall be black. If you use the
-left mouse button only the intensity is used to calculate the white point.
+left mouse button only the intensity is used to calculate the black point.
If <i>RGB default</i> (main window) is not activated you can use the middle
-mouse button to define the white point for each color component. You can
-abort the selection by pressing the right mouse button.</dt>
+mouse button to define the black point for each color component. You can
+abort the selection by pressing the right mouse button.
</blockquote>
-<dt>
-<img SRC="sane-xsane-zoom-not.jpg" height=26 width=26>&nbsp;<a NAME="UNZOOM"></a><b><u>Unzoom:</u></b></dt>
-
+<img SRC="xsane-zoom-not.jpg" alt="zoom-not">
+&nbsp;&nbsp;
+<a NAME="UNZOOM"></a><b><u>Unzoom:</u></b>
<blockquote>
-<dt>
-Use full scan area.</dt>
+Use full scan area.
</blockquote>
-<dt>
-<img SRC="sane-xsane-zoom-out.jpg" height=27 width=27>&nbsp;<a NAME="ZOOM_OUT"></a><b><u>Zoom
-out:</u></b></dt>
-
+<img SRC="xsane-zoom-out.jpg" alt="zoom-out">
+&nbsp;&nbsp;
+<a NAME="ZOOM_OUT"></a><b><u>Zoom out:</u></b>
<blockquote>
-<dt>
-Increase preview area by 20%.</dt>
+Increase preview area by 20%.
</blockquote>
-<dt>
-<img SRC="sane-xsane-zoom-in.jpg" height=26 width=26>&nbsp;<a NAME="ZOOM_IN"></a><b><u>Zoom
-in:</u></b></dt>
+<img SRC="xsane-zoom-in.jpg" alt="zoom-in">
+&nbsp;&nbsp;
+<a NAME="ZOOM_IN"></a><b><u>Zoom in:</u></b>
+<blockquote>
+Zoom into selected area.
+</blockquote>
+<img SRC="xsane-zoom-undo.jpg" alt="zoom-undo">
+&nbsp;&nbsp;
+<a NAME="UNDO_ZOOM"></a><b><u>Undo zoom:</u></b>
<blockquote>
-<dt>
-Zoom into selected area.</dt>
+Undo last zoom.
</blockquote>
-<dt>
-<img SRC="sane-xsane-zoom-undo.jpg" height=26 width=26>&nbsp;<a NAME="UNDO_ZOOM"></a><b><u>Undo
-zoom:</u></b></dt>
+<img SRC="xsane-autoselect.jpg" alt="autoselect">
+&nbsp;&nbsp;
+<a NAME="AUTOSELECT"></a><b><u>Autoselect:</u></b>
+<blockquote>
+Select part with image(s).
+</blockquote>
+<img SRC="xsane-visible-area.jpg" alt="select-visible-area">
+&nbsp;&nbsp;
+<a NAME="SELECT_VISIBLE_AREA"></a><b><u>Select visible area:</u></b>
<blockquote>
-<dt>
-Undo last zoom.</dt>
+Select the visible area in the preview window for scanning.
</blockquote>
-<dt>
-<img SRC="sane-xsane-visible-area.jpg" height=26 width=26>&nbsp;<a NAME="SELECT_VISIBLE_AREA"></a><b><u>Select
-visible area:</u></b></dt>
+<img SRC="xsane-delete-preview-cache.jpg" alt="delete-preview-image-cache">
+&nbsp;&nbsp;
+<a NAME="DELETE_PREVIEW_CACHE"></a><b><u>Delete preview image cache:</u></b>
+<blockquote>
+Delete all images in the preview cache. When you did change anything on
+the scanning surface you should press this button to make sure that
+you do not use old preview images.
+</blockquote>
+<img SRC="xsane-preset-area.jpg" alt="preset-area">
+&nbsp;&nbsp;
+<a NAME="PRESET_AREA"></a><b><u>Preset area:</u></b>
<blockquote>
-<dt>
-Select the visible area in the preview window for scanning.</dt>
+Select a sub surface of the scan surface as maximum scan area.
+The defined areas are relative to the surface of the scanner.
+The list of preset areas can be changed by the user. Open the
+menu with a short click with the left mouse button. Move the mouse
+pointer to the menu item you want to change. Press and
+hold the right mouse button to open the context menu.
</blockquote>
-<dt>
-<b><u>Acquire Preview:</u></b></dt>
+<img SRC="xsane-rotation.jpg" alt="rotation">
+&nbsp;&nbsp;
+<a NAME="ROTATION"></a><b><u>Rotation:</u></b>
+<blockquote>
+Select rotation angel and mirror plane. Take care that the
+<i>preset areas</i> are relative to the scanner surface (not to the
+display surface): so they also are rotated on display when you select
+a rotation.
+</blockquote>
+<b><u>Acquire Preview:</u></b>
<blockquote>
-<dt>
Start preview scan. If you resized the preview window, the new preview
-is done with updated resolution.</dt>
+is done with updated resolution.
</blockquote>
-<dt>
-<b><u>Cancel Preview:</u></b></dt>
-
+<b><u>Cancel Preview:</u></b>
<blockquote>
-<dt>
-Cancel a preview scan.</dt>
-
-<dt>
-</dt>
+Cancel a preview scan.
</blockquote>
-<dt>
-<a NAME="SELECT_SCAN_AREA"></a><b><u>Left mouse button:</u></b></dt>
-
+<a NAME="SELECT_SCAN_AREA"></a><b><u>Left mouse button:</u></b>
<blockquote>
-<dt>
-<u>Select scan area:</u> Press (&amp;hold) left mouse button to define
+<u><b>Select scan area:</b></u> Press (&amp;hold) left mouse button to define
one edge, move the mouse so that the area you want to scan is in the frame
-and release the button.<br>
-<BR></dt>
-
-<dt>
-<u>Edit scan area:</u> Move the pointer over an edge of the existing selection,
-the mouse pointer changes. Now press (&amp;hold)&nbsp; the left mouse button,
-you can move the draged edge of the scanarea, then release the left mouse
-button.</dt>
+and release the button.
+<br>
+<br>
+<u><b>Edit scan area:</b></u> Move the pointer over an edge or side of the
+existing selection, the mouse pointer changes. Now press (&amp;hold) the left
+mouse button, you can move the draged edge/side of the scanarea, then release the
+left mouse button.
</blockquote>
-<dt>
-<a NAME="MOVE_SCAN_AREA"></a><b><u>Right and middle mouse button:</u></b></dt>
-
+<a NAME="MOVE_SCAN_AREA"></a><b><u>Right and middle mouse button:</u></b>
<blockquote>
-<dt>
If you press (&amp;hold) the right or the middle mouse button in the selection
-frame you can move the selection frame without resizing it.</dt>
-</blockquote>
+frame you can move the selection frame without resizing it.
</blockquote>
-<blockquote>
-<blockquote>
-<blockquote>&nbsp;</blockquote>
-</blockquote>
</blockquote>
+</td>
+</tr>
+</table>
<hr WIDTH="100%">
-<center><a href="sane-xsane-doc.html">INDEX</a></center>
-<p><br>
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
</body>
</html>
+
diff --git a/doc/sane-xsane-preview.jpg b/doc/sane-xsane-preview.jpg
deleted file mode 100644
index 892e8d8..0000000
--- a/doc/sane-xsane-preview.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-save-doc.html b/doc/sane-xsane-save-doc.html
new file mode 100644
index 0000000..8e37efa
--- /dev/null
+++ b/doc/sane-xsane-save-doc.html
@@ -0,0 +1,253 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
+ <meta name="Author" content="Oliver Rauch">
+ <meta name="Description" content="scan, photocopy and fax frontend for SANE">
+ <title>XSane - Scan mode</title>
+</head>
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
+
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 height=150 width=128 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><font color="#009900">Main window in save mode</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+In the save mode an image is scanned and saved to a file.
+<br>
+<br>
+<br>
+<center><img SRC="xsane-save.jpg" alt="XSane-main-window"></center>
+<br>
+<br>
+
+<img SRC="xsane-colormode.jpg" alt="colormode">
+&nbsp;&nbsp;
+<b>Scanmode:</b>
+<blockquote>
+Select scanmode, e.g.: color, grayscale, halftone, lineart.
+</blockquote>
+
+<img SRC="xsane-scansource.jpg" alt="scansource">
+&nbsp;&nbsp;
+<b>Scansource:</b>
+<blockquote>
+Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder.
+</blockquote>
+
+<img SRC="xsane-medium.jpg" alt="medium">
+&nbsp;&nbsp;
+<b>Scanmedium:</b>
+<blockquote>
+Select scanmedium, e.g.: <i>slide</i>, <i>standard negative</i>,
+<i>Agfa negative</i>, ... or <i>Full range</i>.
+</blockquote>
+
+<img SRC="xsane-resolution.jpg" alt="resolution">
+&nbsp;&nbsp;
+<b>Scan resolution:</b>
+<blockquote>
+Select resolution that is used for scanning. If the backends makes available a
+range of resolutions (e.g. 100-600 dpi) XSane can display a slider or a
+list of resolutions. You select this via <i>Preferences/Show resolution list</i>.
+<br>
+The backend can define a list of resolutions insted of a range, in this
+case it is not possible to enable the slider.
+<p>
+To select exact resolutions with the slider click the slider with the mouse pointer
+and use the cursor keys to change the value in steps of 1, if you press <i>ctrl</i>
+and a cursor key the step is 10.
+</blockquote>
+
+
+<img SRC="xsane-disk.jpg" alt="disk">
+&nbsp;&nbsp;
+<b>Select filename:</b>
+<blockquote>
+If you press the disk icon a browse dialog is opened where you can select the name
+of the image file that is created when the next scan is done.
+You also can enter the filename directly to the text box right to the disk icon.
+If no path is entered XSane saves the file into the directory selected in
+<i>Preferences/Change directory</i>.
+<p>
+<b>Step:</b>
+<blockquote>
+If there is a counter in the filename (image-0001.jpg) the counter is increased by
+the number selected in this box.
+</blockquote>
+
+<b>Type:</b>
+<blockquote>
+<i>by ext</i> means that the filetype is selected by the extension of the filename.
+When you select a filetype in this box XSane automatically appends the correct
+extension to the filename, you should not append a file extension in this case.
+</blockquote>
+
+
+<b>Supported filetypes:</b>
+
+<blockquote>
+<i>Pnm</i> and <i>ps</i> (and raw) are always available. The
+other formats are only available if necessary libraries are present and
+support is compiled in. For <i>png</i> you need libpng and libz, for
+<i>jpeg</i> you need jpeglib, for <i>tiff</i> you need libtiff.
+</blockquote>
+
+<blockquote>
+The <i>raw</i> format is a 16 bit binary format. Some programs can read
+<i>raw</i> files as <i>pnm</i>-format. For the <i>pnm</i> format
+only 8 bit binary and ascii and 16 bit ascii are defined. We suggest
+not to use the <i>raw</i> format for storing images you want to view, it is
+meant for post-processing with programs you write yourself. The advantage
+is that this format produces much smaller files than the 16 bit ascii
+<i>pnm</i> format does.
+</blockquote>
+
+<blockquote>
+<b>The supported output formats depend on the bit depth of the scanned image:</b>
+<p>
+<b><u>1 bit/pixel black/white mode:</u></b>
+<blockquote>
+<font color="#000099">pnm = pbm, png</font><br>
+<font color="#000099">ps, jpeg and tiff are converted to 8 bit grayscale mode.</font>
+</blockquote>
+<p>
+<b><u>8 bits/pixel grayscale mode:</u></b>
+<blockquote>
+<font color="#000099">pnm = pgm, png, ps, jpeg and tiff</font>
+</blockquote>
+<p>
+<b><u>16 bits/pixel grayscale mode (9-16 bits):</u></b>
+<blockquote>
+<font color="#000099">pnm (ascii), png, raw and tiff</font>
+</blockquote>
+<p>
+<b><u>24 bits/pixel RGB-color mode (8 bits/color):</u></b>
+<blockquote>
+<font color="#000099">pnm = ppm, png, ps, jpeg and tiff</font>
+</blockquote>
+<p>
+<b><u>48 bits/pixel RGB-color mode (9-16 bits/color):</u></b>
+<blockquote>
+<font color="#000099">pnm (ascii), png, raw and tiff</font>
+</blockquote>
+
+</blockquote>
+
+<b><u><font color="#009900">optional: (default: not compiled in)</font></u></b>
+
+<blockquote>
+<b><u>32 bits/pixel RGBA-color mode (8 bits/color):</u></b>
+<blockquote>
+<font color="#000099">rgba (raw) and png with alpha channel</font>
+</blockquote>
+
+<b><u>64 bits/pixel RGBA-color mode (9-16 bits/color):</u></b>
+<blockquote>
+<font color="#000099">rgba (raw) and png with alpha channel</font>
+</blockquote>
+
+</blockquote>
+
+</blockquote>
+</blockquote>
+</td>
+</tr>
+</table>
+
+<hr WIDTH="100%">
+
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
+</body>
+</html>
+
diff --git a/doc/sane-xsane-scan-doc.html b/doc/sane-xsane-scan-doc.html
deleted file mode 100644
index 6995bf9..0000000
--- a/doc/sane-xsane-scan-doc.html
+++ /dev/null
@@ -1,92 +0,0 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
- <meta name="Author" content="Oliver Rauch">
- <meta name="Description" content="scan, photocopy and fax frontend for SANE">
- <title>XSane - Scan mode</title>
-</head>
-<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
-
-<br>&nbsp;
-<blockquote>
-<h1>
-<u><font color="#009900">Scan mode (stand alone)</font></u></h1>
-The scan mode is to scan an image and save it to a file.
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
-
-<center><img SRC="sane-xsane.jpg" height=416 width=270></center>
-
-<blockquote>&nbsp;</blockquote>
-
-<h3>
-<u><font color="#009900">Supported output formats:</font></u></h3>
-
-<blockquote>You can select the output format by the filename extension
-(menu = "by ext") or by selecting the file format in the menu. Possible
-are: <i>pnm, png, ps, jpeg, raw </i>and<i> tiff.</i></blockquote>
-
-<blockquote><i>Pnm</i> and <i>ps</i> (and raw) are always available. The
-other formats are only available if necessary libraries are present (at
-compilation time AND while xsane is executed). For <i>png</i> you need
-libpng and libz, for <i>jpeg</i> you need jpeglib, for <i>tiff</i> you
-need libtiff.</blockquote>
-
-<blockquote>The <i>raw</i> format is a 16 bit format comparable to 16 bit
-binary <i>pnm</i> format that is not defined, for <i>pnm</i> the 16 bit
-format only is defined as ascii mode which generates huge and slow files.</blockquote>
-
-<blockquote><b>The supported output formats depend on the bit depth of
-the scanned image:</b>
-<h4>
-<u><font color="#990000">1 bit/pixel black/white mode:</font></u></h4>
-
-<blockquote><font color="#000099">pnm = pbm, png</font>
-<br><font color="#000099">ps, jpeg and tiff are converted to 8 bit grayscale
-mode.</font></blockquote>
-
-<h4>
-<u><font color="#990000">8 bits/pixel grayscale mode:</font></u></h4>
-
-<blockquote><font color="#000099">pnm = pgm, png, ps, jpeg and tiff</font></blockquote>
-
-<h4>
-<u><font color="#990000">16 bits/pixel grayscale mode (9-16 bits):</font></u></h4>
-
-<blockquote><font color="#000099">pnm (ascii), png and raw</font></blockquote>
-
-<h4>
-<u><font color="#990000">24 bits/pixel RGB-color mode (8 bits/color):</font></u></h4>
-
-<blockquote><font color="#000099">pnm = ppm, png, ps, jpeg and tiff</font></blockquote>
-
-<h4>
-<u><font color="#990000">48 bits/pixel RGB-color mode (9-16 bits/color):</font></u></h4>
-
-<blockquote><font color="#000099">pnm (ascii), png and raw</font></blockquote>
-
-<h4>
-<u><font color="#990000">32 bits/pixel RGBA-color mode (8 bits/color):</font></u></h4>
-
-<blockquote><font color="#000099">rgba (raw) and png with alpha channel</font></blockquote>
-
-<h4>
-<u><font color="#990000">64 bits/pixel RGBA-color mode (9-16 bits/color):</font></u></h4>
-
-<blockquote><font color="#000099">rgba (raw) and png with alpha channel</font></blockquote>
-</blockquote>
-
-<center>
-<hr WIDTH="100%">
-<br><a href="/usr/local/share/sane/sane-xsane-doc.html">INDEX</a></center>
-
-<p><br>
-<br>
-</body>
-</html>
diff --git a/doc/sane-xsane-setup-copy-doc.html b/doc/sane-xsane-setup-copy-doc.html
index bbd36b6..56f93b1 100644
--- a/doc/sane-xsane-setup-copy-doc.html
+++ b/doc/sane-xsane-setup-copy-doc.html
@@ -1,96 +1,169 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
- <title>XSane - Setup</title>
+ <title>XSane - Copy setup</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
-<dd>
-</dd>
-<dd>
-</dd>
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><font color="#009900">Copy setup</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
-<dd>
-</dd>
-<blockquote>
-<h1>
-<u><font color="#009900">Copy setup</font></u></h1>
-&nbsp;
-<p>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
-
-<center><img SRC="sane-xsane-setup-copy.jpg" height=501 width=391></center>
+<hr WIDTH="100%">
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+You open the setup window via the menu <i>preferences/setup</i> in the
+main window of xsane.
+<br>
+<br>
+<br>
+<center><img SRC="xsane-setup-copy.jpg" alt="XSane-setup-copy-window"></center>
+<br>
+<br>
+<br>
+<h4>NAME:</h4>
<blockquote>
-<h4>
-NAME:</h4>
+Define the name for the following printer definition.
</blockquote>
+<h4>COMMAND:</h4>
<blockquote>
-<blockquote>Define the name for the following printer definition.</blockquote>
-
-<h4>
-COMMAND:</h4>
-
-<blockquote>Enter the command with which you print files. The command has
-to read the file from the standard input. If you use the bsd printing system,
-this is "lpr -", if you use the old printing system, this should be "lp
--".</blockquote>
+Enter the command with which you print files. The command has
+to read the file from the standard input. If you use the bsd printing system
+this is "lpr", if you use the old printing system this should be "lp".
</blockquote>
+<h4>COPY NUMBER OPTION:</h4>
<blockquote>
-<h4>
-COPY NUMBER OPTION:</h4>
+Enter the option of the printer command with wich the number
+of copies are specified. If you use the bsd printing system (lpr)
+this is "-#", if you use the old printing system (lp) this should be "-n".
+This option is the last option passed to the printerrcommand
+so if you specify a ";#" the option is ignored.
</blockquote>
+<h4>RESOLUTION:</h4>
<blockquote>
-<blockquote>Enter the option of the printer command with wich the number
-of copies are specified. This option is the last option passed to the printerrcommand
-so if you specify a ";#" the option is ignored.</blockquote>
-
-<h4>
-RESOLUTION:</h4>
-
-<blockquote>With <i>resolution</i> you specify the resolution that shall
+With <i>resolution</i> you specify the resolution that shall
be used for printing. It is not always necessary to set this value to the
resolution of the printer. Especally in grayscale and color mode it normally
is good to set this value to the half or the quarter of the printer resolution
because the printer needs a greater resolution to do the dithering. This
value does not effect a change of the image size, the image size only depends
-on the given zoom factor.</blockquote>
-
-<h4>
-PRINT AREA (WIDTH, HEIGHT, LEFT OFFSET, BOTTOM OFFSET):</h4>
+on the given zoom factor.
+</blockquote>
-<blockquote>Each printer has it's own area size and position where it is
-able to print.</blockquote>
+<h4>PRINT AREA (WIDTH, HEIGHT, LEFT OFFSET, BOTTOM OFFSET):</h4>
+<blockquote>
+Each printer has it's own area size and position where it is able to print.
+</blockquote>
-<h4>
-PRINTER GAMMA VALUES:</h4>
+<h4>PRINTER GAMMA VALUES:</h4>
+<blockquote>
+Addidtional gamma value for printing. The <i>Printer gamma value</i>
+is used for grayscale and as common value for color mode. The
+red, green and blue values are for color correction.
+</blockquote>
-<blockquote>Addidtional gamma value for printing. The <i>Printer gamma
-value</i> is used for grayscale and as common value for color mode. The
-red, green and blue values are for color correction.</blockquote>
</blockquote>
+</td>
+</tr>
+</table>
+
<hr WIDTH="100%">
-<center><a href="sane-xsane-doc.html">INDEX</a></center>
-<p><br>
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
</body>
</html>
+
diff --git a/doc/sane-xsane-setup-copy.jpg b/doc/sane-xsane-setup-copy.jpg
deleted file mode 100644
index abe3d35..0000000
--- a/doc/sane-xsane-setup-copy.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-setup-display-doc.html b/doc/sane-xsane-setup-display-doc.html
index 948e4d1..7c1bb31 100644
--- a/doc/sane-xsane-setup-display-doc.html
+++ b/doc/sane-xsane-setup-display-doc.html
@@ -1,99 +1,173 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
- <title>XSane - Setup</title>
+ <title>XSane - Display setup</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
-<dd>
-</dd>
-
-<dd>
-</dd>
-
-<dd>
-</dd>
-
-<dd>
-</dd>
-
-<dd>
-</dd>
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
<blockquote>
-<h1>
-<u><font color="#009900">Display setup</font></u></h1>
+<h1><font color="#009900">Display setup</font></h1>
</blockquote>
+</td>
+</tr>
+</table>
-<blockquote>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
-
-<h3>
-<font color="#009900"></font></h3>
-<font color="#009900"></font>
-<center>
-<p><br><img SRC="sane-xsane-setup-display.jpg" height=501 width=391></center>
-
-<p><br>
-<blockquote>
-<h4>
-MAIN WINDOW SIZE FIXED:</h4>
-</blockquote>
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+You open the setup window via the menu <i>preferences/setup</i> in the
+main window of xsane.
+<br>
+<br>
+<br>
+<center><p><img SRC="xsane-setup-display.jpg" alt="XSane-setup-display-window"></center>
+<br>
+<br>
+<br>
+<h4>MAIN WINDOW SIZE FIXED:</h4>
<blockquote>
-<blockquote>Select if the main window size shall be fixed (the window size
+Select if the main window size shall be fixed (the window size
is defined by xsane) or it shall be a resizable with scrollbars if necessary.
The change of this option will take effect at the next start of xsane.
The option can be overwritten by the command line options --Fixed/-F or
---Resizeable/-R.</blockquote>
+--Resizeable/-R.
</blockquote>
+<h4>USE PRIVATE COLORMAP:</h4>
<blockquote>
-<h4>
-PRESERVE PREVIEW IMAGE:</h4>
+If enabled and if the X server runs in 8 bit mode (256 colors)
+then the preview uses an own color map.
+<br>I suggest you do <b>not</b> run the X server in 8 bit mode!
</blockquote>
-<blockquote>
-<blockquote>Preserve the preview image for the next program start. The
-last preview image is displayed on the next program start, you don`t need
-to redo the preview scan.</blockquote>
-
-<h4>
-USE PRIVATE COLORMAP:</h4>
-
-<blockquote>If enabled and if the X server runs in 8 bit mode (256 colors)
-then the preview uses an own color map.</blockquote>
+<h4>PREVIEW OVERSAMPLING:</h4>
-<h4>
-PREVIEW GAMMA:</h4>
+<blockquote>
+Defines a multiplier for the preview scan resolution. A value
+of 1.0 means that the preview resolution is calculated that way that for
+each pixel in the preview window the scanner produces one pixel. If you
+want to be able to zoom into the preview and get a higher resolution without
+a new preview scan enter a factor (between 1.0 and 2.0) with that the calculated
+resolution shall be multiplied. But the handling of the preview gets much
+slower if you enter large values. So I suggest a value of 1.0 on slow computers
+and a value up to 2.0 on fast computers.
+</blockquote>
-<blockquote>Set the gamma correction value for the preview image. This
-is to get correct colors on your monitor.</blockquote>
+<h4>PREVIEW GAMMA:</h4>
+<blockquote>
+Set the gamma correction value for the preview image. This is to get correct
+colors on your monitor.
+</blockquote>
-<h4>
-HELPFILE VIEWER:</h4>
+<h4>DISABLE&nbsp;GIMP PREVIEW GAMMA:</h4>
+<blockquote>
+When xsane is started as gimp plugin do not use preview gamma.
+</blockquote>
-<blockquote>Enter a program to show the helpfiles. It must be a html-viewer.
+<h4>HELPFILE VIEWER:</h4>
+<blockquote>
+Enter a program to show the helpfiles. It must be a html-viewer.
If you enter the keywrod "netscape-remote", xsane uses a already running
netscape to show the onlinehelp. If you run kde, you may want to enter
-"kdehelp" here.</blockquote>
+"kdehelp" here.
</blockquote>
+</blockquote>
+</td>
+</tr>
+</table>
+
<hr WIDTH="100%">
-<center><a href="sane-xsane-doc.html">INDEX</a></center>
-<p><br>
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
</body>
</html>
+
diff --git a/doc/sane-xsane-setup-display.jpg b/doc/sane-xsane-setup-display.jpg
deleted file mode 100644
index e7d9d92..0000000
--- a/doc/sane-xsane-setup-display.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-setup-enhancement-doc.html b/doc/sane-xsane-setup-enhancement-doc.html
new file mode 100644
index 0000000..5827198
--- /dev/null
+++ b/doc/sane-xsane-setup-enhancement-doc.html
@@ -0,0 +1,195 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="Author" content="Oliver Rauch">
+ <meta name="Description" content="scan, photocopy and fax frontend for SANE">
+ <title>XSane - Enhancement setup</title>
+</head>
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
+
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><font color="#009900">Enhancement setup</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+You open the setup window via the menu <i>preferences/setup</i> in the
+main window of xsane.
+<br>
+<br>
+<br>
+<center><img SRC="xsane-setup-enhancement.jpg" alt="XSane-setup-enhancement-window"></center>
+<br>
+<br>
+<h4>THRESHOLD OPTION:</h4>
+<blockquote>
+There are three options available:
+<ul>
+<li><b>Standard options window (lineart)</b></li>
+</ul>
+<blockquote>
+The threshold option is kept untouched. If the backend makes
+available a "threshold" option you find it in the standard or advanced
+options window. You have to do a new preview scan to see changes of the
+threshold value.
+</blockquote>
+
+<ul>
+<li><b>XSane main window (lineart)</b></li>
+</ul>
+<blockquote>
+If the backend makes available a "threshold" option it is moved
+to the main window. The value range is normalized (see
+<i>THRESHOLD MINIMUM, MAXIMUM, MULTIPLIER, OFFSET</i>).
+You have to do a new preview scan to see changes of the threshold value.
+</blockquote>
+
+<ul>
+<li><b>XSane main window (grayscale->lineart)</b></li>
+</ul>
+<blockquote>
+If the backend makes available a "threshold" option it is moved
+to the main window. The preview scan is done in grayscale mode (see
+<i>NAME OF GRAYSCALE SCANMODE</i>) and transformed to black/white. Changes
+of the threshold value are visible in the preview window without a new preview
+scan. The value range of the threshold option is normalized (see
+<i>THRESHOLD MINIMUM, MAXIMUM, MULTIPLIER, OFFSET</i>).
+</blockquote>
+</blockquote>
+</blockquote>
+
+<h4>THRESHOLD MINIMUM, MAXIMUM, MULTIPLIER, OFFSET:</h4>
+<blockquote>
+These values are used to make the threshold function of the
+backends work the same way XSane does handle it. This is:
+<b>the threshold value defines the brightness level in % that is needed
+to get a white point. A value of 0% creates a totally white image, a value
+of 100% creates a totally black image.</b>
+<br>
+If the threshold function of the backend does not cover the full range
+(0-100% = white...black), you can reduce the range with the values MINIMUM
+and MAXIMUM. If the backend defines another value range (e.g 0-255 ) you
+have to enter a MULTIPLIER (2.55 for rang 0-255), with the OFFSET value
+you can shift the range linear.
+<br>
+<br>
+<b>The calculation is:</b>
+<blockquote>
+<b>backend_threshold = OFFSET + MULTIPLIER * xsane_threshold</b>
+</blockquote>
+<b>where the user can select xsane_threshold in the range from MINIMUM to MAXIMUM.</b>
+</blockquote>
+
+<h4>NAME OF GRAYSCALE SCANMODE:</h4>
+<blockquote>
+If you want to do a grayscale previewscan when lineart scanmode
+is selected, you have to tell xsane the name of the grayscale mode. This
+is because the scanmode is defined by the backend and differen backends
+may use different names. You have to enter the original name (not translated)
+case sensitive (take a look at the scanmode selection menu in the xsane
+main window).
+<br>
+The name should be something like
+<blockquote>
+<b><i>Gray</i></b>
+</blockquote>
+
+</blockquote>
+</td>
+</tr>
+</table>
+
+<hr WIDTH="100%">
+
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
+</body>
+</html>
diff --git a/doc/sane-xsane-setup-fax-doc.html b/doc/sane-xsane-setup-fax-doc.html
index a5d3953..f44745c 100644
--- a/doc/sane-xsane-setup-fax-doc.html
+++ b/doc/sane-xsane-setup-fax-doc.html
@@ -1,104 +1,175 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
- <title>XSane - Setup</title>
+ <title>XSane - Fax setup</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
-<blockquote>
-<h1>
-<u><font color="#009900">Fax setup</font></u></h1>
-&nbsp;
-<p>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
-
-<center><img SRC="sane-xsane-setup-fax.jpg" height=501 width=391></center>
-
-<p><br>
-<blockquote>
-<h4>
-COMMAND:</h4>
-
-<blockquote>Enter command to send/spool faxfiles.
-<dd>
-<b>hylafax: "sendfax"</b></dd>
-<dd>
-<b>mgetty+sendfax: "faxspool"</b></dd>
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><font color="#009900">Fax setup</font></h1>
</blockquote>
+</td>
+</tr>
+</table>
-<h4>
-RECEIVER OPTION:</h4>
-<blockquote>Option to set receiver phone number or address.
-<dd>
-<b>hylafax: "-d"</b></dd>
+<hr WIDTH="100%">
-<dd>
-<b>mgetty+sendfax: leave free</b></dd>
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+You open the setup window via the menu <i>preferences/setup</i> in the
+main window of xsane.
+<br>
+<br>
+<br>
+<center><img SRC="xsane-setup-fax.jpg" alt="Xsane-setup-fax-window"></center>
+<br>
+<br>
+<br>
+
+<h4>COMMAND:</h4>
+<blockquote>
+Enter command to send/spool faxfiles.
+<b>hylafax: "sendfax"</b>
+<b>mgetty+sendfax: "faxspool"</b>
</blockquote>
-<h4>
-POSTSCRIPTFILE OPTION:</h4>
+<h4>RECEIVER OPTION:</h4>
+<blockquote>
+Option to set receiver phone number or address.
+<b>hylafax: "-d"</b>
+<b>mgetty+sendfax: leave free</b>
+</blockquote>
-<blockquote>If there is an option that must be set before the filenames
+<h4>POSTSCRIPTFILE OPTION:</h4>
+<blockquote>
+If there is an option that must be set before the filenames
of the faxfile or if it is necessary to specify an option for files in
postscript format, enter this option - otherwise let this field free.
-<dd>
-<b>hylafax: leave free</b></dd>
-
-<dd>
-<b>mgetty+sendfax: leave free</b></dd>
+<b>hylafax: leave free</b>
+<b>mgetty+sendfax: leave free</b>
</blockquote>
-<h4>
-NORMAL MODE OPTION:</h4>
-
+<h4>NORMAL MODE OPTION:</h4>
<blockquote>If there is an option to set normal mode (98lpi) then enter
this option - otherwise let this field free.
-<dd>
-<b>hylafax: "-l"</b></dd>
-
-<dd>
-<b>mgetty+sendfax: "-n"</b></dd>
+<b>hylafax: "-l"</b>
+<b>mgetty+sendfax: "-n"</b>
</blockquote>
-<h4>
-FINE MODE OPTION:</h4>
-
-<blockquote>If there is an option to set fine mode (196lpi) then enter
+<h4>FINE MODE OPTION:</h4>
+<blockquote>
+If there is an option to set fine mode (196lpi) then enter
this option - otherwise let this field free.
-<dd>
-<b>hylafax: "-m"</b></dd>
+<b>hylafax: "-m"</b>
+<b>mgetty+sendfax: leave free</b>
+</blockquote>
-<dd>
-<b>mgetty+sendfax: leave free</b></dd>
+<h4>VIEWER:</h4>
+<blockquote>
+Enter a program to show the postscript fax files on the screen.
+<br>
+E.g. this can be "ghostscript" or "xv".
</blockquote>
-<h4>
-VIEWER:</h4>
+<h4>PRINT AREA (WIDTH, HEIGHT, LEFT OFFSET, BOTTOM OFFSET):</h4>
+<blockquote>
+Define size and position of printable area on faxpage.
+</blockquote>
-<blockquote>Enter a program to show the postscript fax files on the screen.
-<br>E.g. this can be "ghostscript" or "xv".</blockquote>
</blockquote>
+</td>
+</tr>
+</table>
<hr WIDTH="100%">
-<center><a href="sane-xsane-doc.html">INDEX</a></center>
-<p><br>
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
</body>
</html>
+
diff --git a/doc/sane-xsane-setup-fax.jpg b/doc/sane-xsane-setup-fax.jpg
deleted file mode 100644
index f2e66de..0000000
--- a/doc/sane-xsane-setup-fax.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-setup-image-doc.html b/doc/sane-xsane-setup-image-doc.html
new file mode 100644
index 0000000..ffbb474
--- /dev/null
+++ b/doc/sane-xsane-setup-image-doc.html
@@ -0,0 +1,167 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="Author" content="Oliver Rauch">
+ <meta name="Description" content="scan, photocopy and fax frontend for SANE">
+ <title>XSane - Save setup</title>
+</head>
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
+
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><font color="#009900">Image setup</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+You open the setup window via the menu <i>preferences/setup</i> in the
+main window of xsane.
+<br>
+<br>
+<br>
+<center><p><br><img SRC="xsane-setup-image.jpg" alt="XSane-setup-image-window"></center>
+<br>
+<br>
+<br>
+<h4>REDUCE 16 BIT IMAGE TO 8 BIT:</h4>
+<blockquote>
+When the image is scanned with 16 bit/color then xsane does reduce the
+color depth to 8 bit/color before saving the image.
+</blockquote>
+
+<h4>JPEG IMAGE QUALITY:</h4>
+<blockquote>
+If the image is saved in <i>jpeg</i> format this value defines
+the quality of the image. Low values mean low quality and low file size,
+high values mean high quality and high file size.
+</blockquote>
+
+<h4>PNG IMAGE COMPRESSION:</h4>
+<blockquote>
+If the image is saved in <i>png</i> format this value defines
+the compression level. The quality of the image keeps the same, low values
+mean low compression, large files and low compression time. High values
+mean high compression, smaller files and high compression time.
+</blockquote>
+
+<h4>TIFF 16 BIT IMAGE COMPRESSION:</h4>
+<blockquote>
+If the image is saved in 16 bit/color <i>tiff</i> format this selection defines
+if xsane does <i>pack bits</i> or <i>no compression</i> is used.
+</blockquote>
+
+<h4>TIFF 8 BIT IMAGE COMPRESSION:</h4>
+<blockquote>
+If the image is saved in 8 bit/color <i>tiff</i> format this selection defines
+if xsane does <i>pack bits</i>, use <i>JPEG DCT compression</i> or <i>no compression</i>
+is used.
+</blockquote>
+
+<h4>TIFF lineart IMAGE COMPRESSION:</h4>
+<blockquote>
+If the image is saved in lineart <i>tiff</i> format this selection defines
+if xsane does <i>pack bits</i>, use <i>CCIT Group 4 Fax compression</i>,
+<i>CCIT Group 3 Fax compression</i>, <i>CCIT 1D Huffman compression</i>,
+<i>JPEG DCT compression</i> or <i>no compression</i>
+is used.
+</blockquote>
+
+</blockquote>
+</td>
+</tr>
+</table>
+
+<hr WIDTH="100%">
+
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
+</body>
+</html>
+
diff --git a/doc/sane-xsane-setup-mail-doc.html b/doc/sane-xsane-setup-mail-doc.html
new file mode 100644
index 0000000..128b96e
--- /dev/null
+++ b/doc/sane-xsane-setup-mail-doc.html
@@ -0,0 +1,190 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="Author" content="Oliver Rauch">
+ <meta name="Description" content="scan, photocopy and fax frontend for SANE">
+ <title>XSane - Mail setup</title>
+</head>
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
+
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><font color="#009900">Mail setup</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+You open the setup window via the menu <i>preferences/setup</i> in the
+main window of xsane.
+<br>
+<br>
+<br>
+<center><img SRC="xsane-setup-mail.jpg" alt="Xsane-setup-mail-window"></center>
+<br>
+<br>
+<br>
+
+<h4>FROM:</h4>
+<blockquote>
+Enter your email address.
+</blockquote>
+
+<h4>REPLY TO:</h4>
+<blockquote>
+Enter the email address to which the receiver shall answer.
+If this is the same as the <i>from</i> address enter the same
+address again.
+</blockquote>
+
+<h4>SMTP SERVER:</h4>
+<blockquote>
+This is the address of the smtp server.
+</blockquote>
+
+<h4>SMPT PORT:</h4>
+<blockquote>
+Here you have to enter the port number on which the smtp server
+expects smtp connections. The standard port number is 25.
+</blockquote>
+
+<h4>POP3 authentification:</h4>
+<blockquote>
+Some smtp servers expect authentification before accepting
+any mail. The smtp protocol does not define any authentification
+routines. A lot of smtp servers expect that you authentificate
+yourself via the pop3 authentification routines.
+</blockquote>
+
+<h4>POP3 server:</h4>
+<blockquote>
+This is the address of the pop3 server.
+</blockquote>
+
+<h4>POP3 port:</h4>
+<blockquote>
+Here you have to enter the port number on which the pop3 server
+expects pop3 connections. The standard port number is 110.
+</blockquote>
+
+<h4>POP3 user:</h4>
+<blockquote>
+Enter your username for the pop3 server.
+</blockquote>
+
+<h4>POP3 password:</h4>
+<blockquote>
+Enter the password for the pop3 server. Pay attention, this can
+be a security hole. The user and password is stored in the
+xsane.rc file in ~/.sane/xsane/xsane.rc. The password is
+not stored in plain text but it is simple to reconstruct
+the password from the entry in xsane.rc. If you enter
+your pop3 password here make sure no one gets access
+to your xsane.rc file.
+</blockquote>
+
+<h4>Viewer(png):</h4>
+<blockquote>
+Enter the program that shall be used to display a scanned
+image when the <i>show image</i> button is pressed in the mail dialog.
+The program has to be able to display png images.
+</blockquote>
+
+</blockquote>
+</td>
+</tr>
+</table>
+
+<hr WIDTH="100%">
+
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
+</body>
+</html>
+
diff --git a/doc/sane-xsane-setup-save-doc.html b/doc/sane-xsane-setup-save-doc.html
index 5e8cb2d..7ad89c5 100644
--- a/doc/sane-xsane-setup-save-doc.html
+++ b/doc/sane-xsane-setup-save-doc.html
@@ -1,92 +1,150 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
- <title>XSane - Setup</title>
+ <title>XSane - Save setup</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
-<dd>
-</dd>
-
-<dd>
-</dd>
-
-<dd>
-</dd>
-
-<dd>
-</dd>
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
<blockquote>
-<h1>
-<u><font color="#009900">Saving setup</font></u></h1>
-&nbsp;
-<p>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
+<h1><font color="#009900">Save setup</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
-<blockquote>&nbsp;</blockquote>
-<h3>
-<font color="#009900"></font></h3>
-<font color="#009900"></font>
-<center>
-<p><br><img SRC="sane-xsane-setup-save.jpg" height=501 width=391></center>
+<hr WIDTH="100%">
-<p><br>
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+You open the setup window via the menu <i>preferences/setup</i> in the
+main window of xsane.
+<br>
+<br>
+<br>
+<center><p><br><img SRC="xsane-setup-save.jpg" alt="XSane-setup-save-window"></center>
+<br>
+<br>
+<br>
+<h4> PERMISSIONS:</h4>
<blockquote>
-<h4>
-OVERWRITE WARNING:</h4>
+You can set permissions with which a file or directory is created.
+The user permissions are not changeable because needs the predefined user
+permissions for correct function.
</blockquote>
+<h4>OVERWRITE WARNING:</h4>
<blockquote>
-<blockquote>If enabled, a warning comes up before an existing file is overwritten.</blockquote>
-
-<h4>
-INCREASE FILENAME COUNTER:</h4>
-
-<blockquote>If enabled, the number in the filename of the following form
-is automatically increased after a scan is completed:
-<blockquote><i>image-001.ext</i></blockquote>
-The number of digits is free and will not be changed, in case of an overflow,
-a warning is printed and the counter becomes 0.</blockquote>
-
-<blockquote>If an automatic document feeder is used the filename should
-contain a counter and this option should be enabled.</blockquote>
-
-<h4>
-SKIP EXISTING NUMBERS:</h4>
-
-<blockquote>If <i>increase filename counter</i> is enabled, filenames that
-already exist are skipped!</blockquote>
-
-<h4>
-JPEG IMAGE QUALITY:</h4>
-
-<blockquote>If the image is saved in <i>jpeg</i> format this value defines
-the quality of the image. Low values mean low quality and low file size,
-high values mean high quality and high file size.</blockquote>
+If enabled, a warning comes up before an existing file is overwritten.
+</blockquote>
-<h4>
-PNG IMAGE COMPRESSION:</h4>
+<h4>SKIP EXISTING NUMBERS:</h4>
+<blockquote>
+If filename counter is automatically increased, the filenames that
+already exist are skipped!
+</blockquote>
-<blockquote>If the image is saved in <i>png</i> format this value defines
-the compression level. The quality of the image keeps the same, low values
-mean low compression, large files and low compression time. High values
-mean high compression, smaller files and high compression time.</blockquote>
+<h4>FILENAME COUNTER LENGTH:</h4>
+<blockquote>
+If the filename includes a counter (image-0003.pnm), the length
+of the counter can be defined. This can be interesting eg. if you want
+to scan 500 images and want that the ordering the images by their filenames
+creates the same order like the counter does. If you select <i>inactive</i>
+the counter is not changed by xsane.
</blockquote>
+</blockquote>
+</td>
+</tr>
+</table>
<hr WIDTH="100%">
-<center><a href="sane-xsane-doc.html">INDEX</a></center>
-<p><br>
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
</body>
</html>
+
diff --git a/doc/sane-xsane-setup-save.jpg b/doc/sane-xsane-setup-save.jpg
deleted file mode 100644
index 07b6a22..0000000
--- a/doc/sane-xsane-setup-save.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-standard-doc.html b/doc/sane-xsane-standard-doc.html
index 3a09d7e..cbd1ae2 100644
--- a/doc/sane-xsane-standard-doc.html
+++ b/doc/sane-xsane-standard-doc.html
@@ -1,33 +1,125 @@
-<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; I; Linux 2.2.11 i586) [Netscape]">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
<meta name="Author" content="Oliver Rauch">
<meta name="Description" content="scan, photocopy and fax frontend for SANE">
- <title>XSane - Standard options</title>
+ <title>XSane - Standrad options window</title>
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
-&nbsp;
-<dd>
-<img SRC="xsane-logo2.jpg" height=150 width=128 align=LEFT></dd>
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><font color="#009900">Standard options window</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
<blockquote>
-<h1>
-<u><font color="#009900">Standard options window</font></u></h1>
-&nbsp;
-<p>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;
-<br>&nbsp;</blockquote>
-
-<center><img SRC="sane-xsane-standard.jpg" height=275 width=307>
<br>
+<center><img SRC="xsane-standard.jpg" alt="standard-options-window"></center>
+<br>
+<br>
+<br>
+The standard options window contains general scanner options. XSane
+does not now anything about these options, it only creates this dialog
+to give the user the possibility to take control of these options.
+<p>
+Please read the backend manual if you need any information about
+the functions you find in this window.
+</blockquote>
+</td>
+</tr>
+</table>
+
<hr WIDTH="100%">
-<br><a href="sane-xsane-doc.html">INDEX</a></center>
-<p><br>
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
</body>
</html>
diff --git a/doc/sane-xsane-standard.jpg b/doc/sane-xsane-standard.jpg
deleted file mode 100644
index 13be214..0000000
--- a/doc/sane-xsane-standard.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/sane-xsane-viewer-doc.html b/doc/sane-xsane-viewer-doc.html
new file mode 100644
index 0000000..9c9489a
--- /dev/null
+++ b/doc/sane-xsane-viewer-doc.html
@@ -0,0 +1,232 @@
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="GENERATOR" content="Mozilla/4.74 [en] (X11; U; Linux 2.2.18 i686) [Netscape]">
+ <meta name="Author" content="Oliver Rauch">
+ <meta name="Description" content="scan, photocopy and fax frontend for SANE">
+ <title>XSane - Scan mode</title>
+</head>
+<body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
+
+
+<table>
+<tr>
+<td width=200>
+<img SRC="xsane-logo2.jpg" alt="XSane-logo" hspace=30 height=150 width=128 align=TOP>
+</td>
+<td>
+<blockquote>
+<h1><font color="#009900">Main window in viewer mode</font></h1>
+</blockquote>
+</td>
+</tr>
+</table>
+
+
+<hr WIDTH="100%">
+
+<table>
+<tr>
+<td valign=TOP width="200" bgcolor="#E0E0BA">
+<br>
+<a href="sane-xsane-doc.html">Index</a>
+<br>
+<br>
+<br>
+<font color="#000000">Main window:</font>
+<ul>
+<li><a href="sane-xsane-viewer-doc.html">Viewer mode</a></li>
+<li><a href="sane-xsane-save-doc.html">Save mode</a></li>
+<li><a href="sane-xsane-copy-doc.html">Copy mode</a></li>
+<li><a href="sane-xsane-fax-doc.html">Fax mode</a></li>
+<li><a href="sane-xsane-mail-doc.html">Mail mode</a></li>
+<li><a href="sane-xsane-gimp-doc.html">Gimp plugin</a></li>
+</ul>
+<br>
+<a href="sane-xsane-color-correction-doc.html">Color correction:</a>
+<ul>
+<li><a href="sane-xsane-color-correction-doc.html#GAMMA">Gamma correction</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#BRIGHTNESS">Brightness</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#CONTRAST">Contrast</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#THRESHOLD">Threshold</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RGB_DEFAULT">RGB default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#NEGATIVE">Negative</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#AUTOENHANCEMENT">Autoenhancement</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#ENHANCEMENT_DEFAULT">Default</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#RESTORE_ENHANCEMENT">Restore</a></li>
+<li><a href="sane-xsane-color-correction-doc.html#STORE_ENHANCEMENT">Store</a></li>
+<li><a href="sane-xsane-histogram-doc.html">Histogram window</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette functions</a></li>
+</ul>
+<br>
+<a href="sane-xsane-standard-doc.html">Standard options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-advanced-doc.html">Advanced options window</a>
+<br>
+<br>
+<br>
+<a href="sane-xsane-preview-doc.html">Preview:</a>
+<ul>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_WHITE">Pipette white</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_GRAY">Pipette gray</a></li>
+<li><a href="sane-xsane-preview-doc.html#PIPETTE_BLACK">Pipette black</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNZOOM">Unzoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_OUT">Zoom out</a></li>
+<li><a href="sane-xsane-preview-doc.html#ZOOM_IN">Zoom in</a></li>
+<li><a href="sane-xsane-preview-doc.html#UNDO_ZOOM">Undo zoom</a></li>
+<li><a href="sane-xsane-preview-doc.html#AUTOSELECT">Autoselect scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_VISIBLE_AREA">Select visible area</a></li>
+<li><a href="sane-xsane-preview-doc.html#SELECT_SCAN_AREA">Select scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#MOVE_SCAN_AREA">Move scanarea</a></li>
+<li><a href="sane-xsane-preview-doc.html#DELETE_PREVIEW_CACHE">Delete preview cache</a></li>
+</ul>
+<br>
+<font color="#000000">Setup:</font>
+<ul>
+<li><a href="sane-xsane-setup-copy-doc.html">Copy setup</a></li>
+<li><a href="sane-xsane-setup-display-doc.html">Display setup</a></li>
+<li><a href="sane-xsane-setup-enhancement-doc.html">Enhancement setup</a></li>
+<li><a href="sane-xsane-setup-fax-doc.html">Fax setup</a></li>
+<li><a href="sane-xsane-setup-image-doc.html">Image setup</a></li>
+<li><a href="sane-xsane-setup-mail-doc.html">Mail setup</a></li>
+<li><a href="sane-xsane-setup-save-doc.html">Saving setup</a></li>
+</ul>
+</td>
+
+
+
+<td VALIGN=TOP BGCOLOR="#FFFFFF">
+<blockquote>
+<br>
+In the viewer mode an image is scanned and displayed in the viewer.
+<br>
+<br>
+<br>
+<center><img SRC="xsane-viewer.jpg" alt="XSane-main-window"></center>
+<br>
+<br>
+
+<img SRC="xsane-colormode.jpg" alt="colormode">
+&nbsp;&nbsp;
+<b>Scanmode:</b>
+<blockquote>
+Select scanmode, e.g.: color, grayscale, halftone, lineart.
+</blockquote>
+
+<img SRC="xsane-scansource.jpg" alt="scansource">
+&nbsp;&nbsp;
+<b>Scansource:</b>
+<blockquote>
+Select scansource, e.g.: Flatbed, Transparency, Automatic Document Feeder.
+</blockquote>
+
+<img SRC="xsane-medium.jpg" alt="medium">
+&nbsp;&nbsp;
+<b>Scanmedium:</b>
+<blockquote>
+Select scanmedium, e.g.: <i>slide</i>, <i>standard negative</i>,
+<i>Agfa negative</i>, ... or <i>Full range</i>.
+</blockquote>
+
+<img SRC="xsane-resolution.jpg" alt="resolution">
+&nbsp;&nbsp;
+<b>Scan resolution:</b>
+<blockquote>
+Select resolution that is used for scanning. If the backends makes available a
+range of resolutions (e.g. 100-600 dpi) XSane can display a slider or a
+list of resolutions. You select this via <i>Preferences/Show resolution list</i>.
+<br>
+The backend can define a list of resolutions insted of a range, in this
+case it is not possible to enable the slider.
+<p>
+To select exact resolutions with the slider click the slider with the mouse pointer
+and use the cursor keys to change the value in steps of 1, if you press <i>ctrl</i>
+and a cursor key the step is 10.
+</blockquote>
+<br>
+<br>
+<b>The viewer window:</b>
+<blockquote>
+When the image is scanned it is displayed in the viewer window:
+</blockquote>
+
+<center><img SRC="xsane-viewer-window.jpg" alt="XSane-viewer-window"></center>
+<br>
+<br>
+<img SRC="xsane-disk.jpg" alt="save image">
+&nbsp;&nbsp;
+<b>Save image:</b>
+<blockquote>
+Save image to disk. If the path, filename and filetype is not defined, a dialog
+opens that allows selecting path, filename and filetype.
+</blockquote>
+
+<img SRC="xsane-ocr.jpg" alt="do ocr">
+&nbsp;&nbsp;
+<b>OCR:</b>
+<blockquote>
+Call OCR program and save created text to file.
+</blockquote>
+
+<img SRC="xsane-clone.jpg" alt="clone image">
+&nbsp;&nbsp;
+<b>Clone image:</b>
+<blockquote>
+Creates a new viewer window with a copy of the displayed image.
+</blockquote>
+
+<img SRC="xsane-scale.jpg" alt="scale image">
+&nbsp;&nbsp;
+<b>Scale image:</b>
+<blockquote>
+Change size of the image.
+</blockquote>
+
+<img SRC="xsane-despeckle.jpg" alt="despeckle image">
+&nbsp;&nbsp;
+<b>Despeckle image:</b>
+<blockquote>
+Removes spots from the displayed image that is scanned from a rastered original
+like a magazine.
+</blockquote>
+
+<img SRC="xsane-blur.jpg" alt="blur image">
+&nbsp;&nbsp;
+<b>Blur image:</b>
+<blockquote>
+Blur displayed image.
+</blockquote>
+
+<img SRC="xsane-rotate-90.jpg" alt="rotate image 90 degree">
+<img SRC="xsane-rotate-180.jpg" alt="rotate image 180 degree">
+<img SRC="xsane-rotate-270.jpg" alt="rotate image 270 degree">
+&nbsp;&nbsp;
+<b>Rotate image 90, 180, 270 degree:</b>
+<blockquote>
+Rotates the image by 90, 180 or 270 degree (clockwise).
+</blockquote>
+
+<img SRC="xsane-mirror-x.jpg" alt="mirror image at vertical axis">
+<img SRC="xsane-mirror-y.jpg" alt="mirror image at horizontal axis">
+&nbsp;&nbsp;
+<b>Mirror image at vertical or horizontal axis:</b>
+<blockquote>
+Mirrors the image at vertical or horizonral axis.
+</blockquote>
+
+</blockquote>
+</td>
+</tr>
+</table>
+
+<hr WIDTH="100%">
+
+<blockquote>
+Author: <a href="mailto:Oliver.Rauch@xsane.org">Oliver Rauch</a>
+</blockquote>
+
+</body>
+</html>
+
diff --git a/doc/sane-xsane.jpg b/doc/sane-xsane.jpg
deleted file mode 100644
index 31c37af..0000000
--- a/doc/sane-xsane.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/xsane-advanced.jpg b/doc/xsane-advanced.jpg
new file mode 100644
index 0000000..ed9bab4
--- /dev/null
+++ b/doc/xsane-advanced.jpg
Binary files differ
diff --git a/doc/autoenhance.jpg b/doc/xsane-autoenhance.jpg
index 0be20e2..0be20e2 100644
--- a/doc/autoenhance.jpg
+++ b/doc/xsane-autoenhance.jpg
Binary files differ
diff --git a/doc/xsane-autoselect.jpg b/doc/xsane-autoselect.jpg
new file mode 100644
index 0000000..e4f14c2
--- /dev/null
+++ b/doc/xsane-autoselect.jpg
Binary files differ
diff --git a/doc/xsane-blur.jpg b/doc/xsane-blur.jpg
new file mode 100644
index 0000000..691bba9
--- /dev/null
+++ b/doc/xsane-blur.jpg
Binary files differ
diff --git a/doc/brightness.jpg b/doc/xsane-brightness.jpg
index 0a382d3..0a382d3 100644
--- a/doc/brightness.jpg
+++ b/doc/xsane-brightness.jpg
Binary files differ
diff --git a/doc/xsane-clone.jpg b/doc/xsane-clone.jpg
new file mode 100644
index 0000000..0fde0c4
--- /dev/null
+++ b/doc/xsane-clone.jpg
Binary files differ
diff --git a/doc/xsane-colormode.jpg b/doc/xsane-colormode.jpg
new file mode 100644
index 0000000..009468a
--- /dev/null
+++ b/doc/xsane-colormode.jpg
Binary files differ
diff --git a/doc/contrast.jpg b/doc/xsane-contrast.jpg
index b8d0435..b8d0435 100644
--- a/doc/contrast.jpg
+++ b/doc/xsane-contrast.jpg
Binary files differ
diff --git a/doc/xsane-copy.jpg b/doc/xsane-copy.jpg
new file mode 100644
index 0000000..6871737
--- /dev/null
+++ b/doc/xsane-copy.jpg
Binary files differ
diff --git a/doc/default.jpg b/doc/xsane-default.jpg
index 56602f8..56602f8 100644
--- a/doc/default.jpg
+++ b/doc/xsane-default.jpg
Binary files differ
diff --git a/doc/xsane-delete-preview-cache.jpg b/doc/xsane-delete-preview-cache.jpg
new file mode 100644
index 0000000..f01476b
--- /dev/null
+++ b/doc/xsane-delete-preview-cache.jpg
Binary files differ
diff --git a/doc/xsane-despeckle.jpg b/doc/xsane-despeckle.jpg
new file mode 100644
index 0000000..9deb6c9
--- /dev/null
+++ b/doc/xsane-despeckle.jpg
Binary files differ
diff --git a/doc/xsane-disk.jpg b/doc/xsane-disk.jpg
new file mode 100644
index 0000000..481ba85
--- /dev/null
+++ b/doc/xsane-disk.jpg
Binary files differ
diff --git a/doc/xsane-fax-project.jpg b/doc/xsane-fax-project.jpg
new file mode 100644
index 0000000..9ff2766
--- /dev/null
+++ b/doc/xsane-fax-project.jpg
Binary files differ
diff --git a/doc/xsane-fax.jpg b/doc/xsane-fax.jpg
new file mode 100644
index 0000000..ecbf020
--- /dev/null
+++ b/doc/xsane-fax.jpg
Binary files differ
diff --git a/doc/gamma.jpg b/doc/xsane-gamma.jpg
index bf24033..bf24033 100644
--- a/doc/gamma.jpg
+++ b/doc/xsane-gamma.jpg
Binary files differ
diff --git a/doc/xsane-gimp.jpg b/doc/xsane-gimp.jpg
new file mode 100644
index 0000000..7350f7d
--- /dev/null
+++ b/doc/xsane-gimp.jpg
Binary files differ
diff --git a/doc/xsane-histogram.jpg b/doc/xsane-histogram.jpg
new file mode 100644
index 0000000..c5ca68f
--- /dev/null
+++ b/doc/xsane-histogram.jpg
Binary files differ
diff --git a/doc/xsane-logo.jpg b/doc/xsane-logo.jpg
deleted file mode 100644
index 596f3da..0000000
--- a/doc/xsane-logo.jpg
+++ /dev/null
Binary files differ
diff --git a/doc/xsane-mail.jpg b/doc/xsane-mail.jpg
new file mode 100644
index 0000000..232530b
--- /dev/null
+++ b/doc/xsane-mail.jpg
Binary files differ
diff --git a/doc/xsane-medium.jpg b/doc/xsane-medium.jpg
new file mode 100644
index 0000000..d9a6181
--- /dev/null
+++ b/doc/xsane-medium.jpg
Binary files differ
diff --git a/doc/xsane-mirror-x.jpg b/doc/xsane-mirror-x.jpg
new file mode 100644
index 0000000..42e4fde
--- /dev/null
+++ b/doc/xsane-mirror-x.jpg
Binary files differ
diff --git a/doc/xsane-mirror-y.jpg b/doc/xsane-mirror-y.jpg
new file mode 100644
index 0000000..83a5e88
--- /dev/null
+++ b/doc/xsane-mirror-y.jpg
Binary files differ
diff --git a/doc/negative.jpg b/doc/xsane-negative.jpg
index be4bec1..be4bec1 100644
--- a/doc/negative.jpg
+++ b/doc/xsane-negative.jpg
Binary files differ
diff --git a/doc/xsane-ocr.jpg b/doc/xsane-ocr.jpg
new file mode 100644
index 0000000..e087af5
--- /dev/null
+++ b/doc/xsane-ocr.jpg
Binary files differ
diff --git a/doc/sane-xsane-pipette-black.jpg b/doc/xsane-pipette-black.jpg
index 8508f14..8508f14 100644
--- a/doc/sane-xsane-pipette-black.jpg
+++ b/doc/xsane-pipette-black.jpg
Binary files differ
diff --git a/doc/sane-xsane-pipette-gray.jpg b/doc/xsane-pipette-gray.jpg
index 72211f3..72211f3 100644
--- a/doc/sane-xsane-pipette-gray.jpg
+++ b/doc/xsane-pipette-gray.jpg
Binary files differ
diff --git a/doc/sane-xsane-pipette-white.jpg b/doc/xsane-pipette-white.jpg
index b8b8b0f..b8b8b0f 100644
--- a/doc/sane-xsane-pipette-white.jpg
+++ b/doc/xsane-pipette-white.jpg
Binary files differ
diff --git a/doc/xsane-preferences.jpg b/doc/xsane-preferences.jpg
new file mode 100644
index 0000000..851200a
--- /dev/null
+++ b/doc/xsane-preferences.jpg
Binary files differ
diff --git a/doc/xsane-preset-area.jpg b/doc/xsane-preset-area.jpg
new file mode 100644
index 0000000..25bdab5
--- /dev/null
+++ b/doc/xsane-preset-area.jpg
Binary files differ
diff --git a/doc/xsane-preview.jpg b/doc/xsane-preview.jpg
new file mode 100644
index 0000000..12cc6fb
--- /dev/null
+++ b/doc/xsane-preview.jpg
Binary files differ
diff --git a/doc/xsane-printer.jpg b/doc/xsane-printer.jpg
new file mode 100644
index 0000000..5366704
--- /dev/null
+++ b/doc/xsane-printer.jpg
Binary files differ
diff --git a/doc/xsane-resolution.jpg b/doc/xsane-resolution.jpg
new file mode 100644
index 0000000..52e3a33
--- /dev/null
+++ b/doc/xsane-resolution.jpg
Binary files differ
diff --git a/doc/restore.jpg b/doc/xsane-restore.jpg
index 754871b..754871b 100644
--- a/doc/restore.jpg
+++ b/doc/xsane-restore.jpg
Binary files differ
diff --git a/doc/rgb-default.jpg b/doc/xsane-rgb-default.jpg
index b04a539..b04a539 100644
--- a/doc/rgb-default.jpg
+++ b/doc/xsane-rgb-default.jpg
Binary files differ
diff --git a/doc/xsane-rotate-180.jpg b/doc/xsane-rotate-180.jpg
new file mode 100644
index 0000000..e532f28
--- /dev/null
+++ b/doc/xsane-rotate-180.jpg
Binary files differ
diff --git a/doc/xsane-rotate-270.jpg b/doc/xsane-rotate-270.jpg
new file mode 100644
index 0000000..d0fe2cc
--- /dev/null
+++ b/doc/xsane-rotate-270.jpg
Binary files differ
diff --git a/doc/xsane-rotate-90.jpg b/doc/xsane-rotate-90.jpg
new file mode 100644
index 0000000..720c473
--- /dev/null
+++ b/doc/xsane-rotate-90.jpg
Binary files differ
diff --git a/doc/xsane-rotation.jpg b/doc/xsane-rotation.jpg
new file mode 100644
index 0000000..aa57039
--- /dev/null
+++ b/doc/xsane-rotation.jpg
Binary files differ
diff --git a/doc/xsane-save.jpg b/doc/xsane-save.jpg
new file mode 100644
index 0000000..4791ad5
--- /dev/null
+++ b/doc/xsane-save.jpg
Binary files differ
diff --git a/doc/xsane-scale.jpg b/doc/xsane-scale.jpg
new file mode 100644
index 0000000..cbfd1c0
--- /dev/null
+++ b/doc/xsane-scale.jpg
Binary files differ
diff --git a/doc/xsane-scansource.jpg b/doc/xsane-scansource.jpg
new file mode 100644
index 0000000..0340ced
--- /dev/null
+++ b/doc/xsane-scansource.jpg
Binary files differ
diff --git a/doc/xsane-setup-copy.jpg b/doc/xsane-setup-copy.jpg
new file mode 100644
index 0000000..a09b266
--- /dev/null
+++ b/doc/xsane-setup-copy.jpg
Binary files differ
diff --git a/doc/xsane-setup-display.jpg b/doc/xsane-setup-display.jpg
new file mode 100644
index 0000000..045c3aa
--- /dev/null
+++ b/doc/xsane-setup-display.jpg
Binary files differ
diff --git a/doc/xsane-setup-enhancement.jpg b/doc/xsane-setup-enhancement.jpg
new file mode 100644
index 0000000..53733ba
--- /dev/null
+++ b/doc/xsane-setup-enhancement.jpg
Binary files differ
diff --git a/doc/xsane-setup-fax.jpg b/doc/xsane-setup-fax.jpg
new file mode 100644
index 0000000..b1ac97b
--- /dev/null
+++ b/doc/xsane-setup-fax.jpg
Binary files differ
diff --git a/doc/xsane-setup-image.jpg b/doc/xsane-setup-image.jpg
new file mode 100644
index 0000000..e6ce8f4
--- /dev/null
+++ b/doc/xsane-setup-image.jpg
Binary files differ
diff --git a/doc/xsane-setup-mail.jpg b/doc/xsane-setup-mail.jpg
new file mode 100644
index 0000000..e08c07a
--- /dev/null
+++ b/doc/xsane-setup-mail.jpg
Binary files differ
diff --git a/doc/xsane-setup-save.jpg b/doc/xsane-setup-save.jpg
new file mode 100644
index 0000000..f4f6d19
--- /dev/null
+++ b/doc/xsane-setup-save.jpg
Binary files differ
diff --git a/doc/xsane-standard.jpg b/doc/xsane-standard.jpg
new file mode 100644
index 0000000..2255b84
--- /dev/null
+++ b/doc/xsane-standard.jpg
Binary files differ
diff --git a/doc/store.jpg b/doc/xsane-store.jpg
index e1223df..e1223df 100644
--- a/doc/store.jpg
+++ b/doc/xsane-store.jpg
Binary files differ
diff --git a/doc/xsane-threshold.jpg b/doc/xsane-threshold.jpg
new file mode 100644
index 0000000..0990031
--- /dev/null
+++ b/doc/xsane-threshold.jpg
Binary files differ
diff --git a/doc/xsane-viewer-window.jpg b/doc/xsane-viewer-window.jpg
new file mode 100644
index 0000000..9bf70a6
--- /dev/null
+++ b/doc/xsane-viewer-window.jpg
Binary files differ
diff --git a/doc/xsane-viewer.jpg b/doc/xsane-viewer.jpg
new file mode 100644
index 0000000..d93990d
--- /dev/null
+++ b/doc/xsane-viewer.jpg
Binary files differ
diff --git a/doc/sane-xsane-visible-area.jpg b/doc/xsane-visible-area.jpg
index 117a5ba..117a5ba 100644
--- a/doc/sane-xsane-visible-area.jpg
+++ b/doc/xsane-visible-area.jpg
Binary files differ
diff --git a/doc/sane-xsane-zoom-in.jpg b/doc/xsane-zoom-in.jpg
index dc73335..dc73335 100644
--- a/doc/sane-xsane-zoom-in.jpg
+++ b/doc/xsane-zoom-in.jpg
Binary files differ
diff --git a/doc/sane-xsane-zoom-not.jpg b/doc/xsane-zoom-not.jpg
index b239646..b239646 100644
--- a/doc/sane-xsane-zoom-not.jpg
+++ b/doc/xsane-zoom-not.jpg
Binary files differ
diff --git a/doc/sane-xsane-zoom-out.jpg b/doc/xsane-zoom-out.jpg
index 9e20fc1..9e20fc1 100644
--- a/doc/sane-xsane-zoom-out.jpg
+++ b/doc/xsane-zoom-out.jpg
Binary files differ
diff --git a/doc/sane-xsane-zoom-undo.jpg b/doc/xsane-zoom-undo.jpg
index 11e0890..11e0890 100644
--- a/doc/sane-xsane-zoom-undo.jpg
+++ b/doc/xsane-zoom-undo.jpg
Binary files differ
diff --git a/doc/xsane-zoom.jpg b/doc/xsane-zoom.jpg
new file mode 100644
index 0000000..2ac14af
--- /dev/null
+++ b/doc/xsane-zoom.jpg
Binary files differ
diff --git a/doc/xsane.jpg b/doc/xsane.jpg
new file mode 100644
index 0000000..2f9a50d
--- /dev/null
+++ b/doc/xsane.jpg
Binary files differ
diff --git a/doc/xsane.man b/doc/xsane.man
index 8e69216..1021b89 100644
--- a/doc/xsane.man
+++ b/doc/xsane.man
@@ -1,4 +1,4 @@
-.TH xsane 1 "02 Aug 1999"
+.TH xsane 1 "11 Aug 2000"
.IX xsane
.SH NAME
xsane - scanner frontend for SANE
@@ -44,7 +44,8 @@ explicit devicename argument,
.B xsane
presents a dialog listing all known and available devices. To access
an available device that is not known to the system, the devicename
-must be specified explicitly.
+must be specified explicitly. The format of devicename is
+backendname:devicefile (eg: umax:/dev/sga).
.SH RUNNING UNDER THE GIMP
To run
.B xsane
@@ -52,12 +53,18 @@ under the
.BR gimp (1),
simply set a symbolic link from the xsane-binary to one of the
.BR gimp (1)
-plug-ins directories. For example, the command
+plug-ins directories. For example, for gimp-1.0.x the command
.PP
.RS
ln -s @BINDIR@/xsane ~/.gimp/plug-ins/
.RE
.PP
+and for gimp 1.1.x the command:
+.PP
+.RS
+ln -s @BINDIR@/xsane ~/.gimp-1.1/plug-ins/
+.RE
+.PP
adds a symlink for the
.B xsane
binary to the user's plug-ins directory. After creating this symlink,
@@ -66,10 +73,11 @@ will be queried by
.BR gimp (1)
the next time it's invoked. From then on,
.B xsane
-can be invoked through "Xtns->XSane->Device dialog..." menu entry.
+can be invoked through "Xtns->XSane->Device dialog..." or through
+"File->Acquire->XSane->Device dialog..." menu entry.
-You'll also find that the "Xtns->XSane" menu contains short-cuts
-to the SANE devices that were available at the time the
+You'll also find that the "Xtns->XSane"/"File->Acquire->XSane" menu contains
+short-cuts to the SANE devices that were available at the time the
.B xsane
was queried.
Note that
@@ -91,7 +99,9 @@ If the
.B --version
or
.B -v
-flag is given xsane prints a version information and exits.
+flag is given xsane prints a version information, some
+information about gtk+ and gimp version it is compiled
+against and lists the supported fileformats, then it exits.
.PP
The
.B --scan
@@ -157,6 +167,12 @@ The
.B --sync
flag requests a synchronous connection with the X11 server. This is for
debugging purposes only.
+.SH ENVIRONMENT
+.TP
+.I SANE_DEFAULT_DEVICE
+is used to preselect the device in the device dialog. This way you only
+have to accept the device (<ENTER> or OK-Button).
+
.SH FILES
.TP
.I $HOME/.sane/xsane/xsane.rc
@@ -172,28 +188,17 @@ manipulated directly. Instead, the user should use the
interface to select appropriate values and then save the device
settings using the "Preferences->Save Device Settings" menubar entry.
.TP
-.I $HOME/.sane/preview-devicename.ppm
-After acquiring a preview,
-.B xsane
-normally saves the preview image in this device-specific file. Thus,
-next time the program is started up, the program can present the old
-preview image. This feature can be turned off through the
-"Preferences->Preview Options..." dialog.
-.TP
-.I @DATADIR@/sane-style.rc
+.I @SANEDATADIR@/xsane/xsane-style.rc
This system-wide file controls the aspects of the user-interface such
as colors and fonts. It is a GTK style file and provides fine control
over the visual aspects of the user-interface.
.TP
-.I $HOME/.sane/sane-style.rc
+.I $HOME/.sane/xsane/xsane-style.rc
This file serves the same purpose as the system-wide style file. If
present, it takes precedence over the system wide style file.
.SH "SEE ALSO"
gimp(1), xscanimage(1), scanimage(1),
sane\-dll(5), sane\-net(5), sane-scsi(5),
-sane\-abaton(5), sane\-agfafocus(5), sane\-apple(5), sane\-dc25(5),
-sane\-dmc(5), sane\-epson(5), sane\-hp(5), sane\-microtek(5),
-sane\-microtek2(5), sane\-mustek(5), sane\-pint(5), sane\-pnm(5),
-sane\-qcam(5), sane\-umax(5)
+sane\-"backendname"(5)
.SH AUTHOR
-Oliver Rauch (Oliver.Rauch@Wolfsburg.DE)
+Oliver Rauch <Oliver.Rauch@rauch-domain.de>