<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi Maxim!<br>
<br>
<div class="moz-cite-prefix">On 2020-05-03 8:56 a.m., Maxim Ushakov
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:e93b57e4-2052-8186-fe6b-0e741efae053@maxamuxa.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hello everybody!</p>
<p>Some time ago I tried to scan a big archive of old camera rolls
with xSane and found problems:</p>
<ol>
<li>Its 'scan area selection' was wrong, it got a shift if the
Preview was zoomed in.</li>
<li>'Zoom to point' and 'Zoom out' worked in a weird manner, it
lost the center point.<br>
</li>
<li>The image was tied to the top-left corner that is pretty
unusual nowadays.</li>
<li>Zoom did not react to the size of window.<br>
</li>
</ol>
<p>It would make scanning frustrating, so I decided to make a
custom version of xSane.</p>
<p>Major changes, Preview window:<br>
</p>
<p>* xsane-preview.h/c : geometry calculations of Preview window
revised, clarified and simplified.<br>
* Preview image reacts on the window size: the same part of
image is visible after resizing.<br>
* 'Fit to screen' stated as a separate mode that allows to see
the entire image regardless of the window size.<br>
* Zoom In/Zoom Out work as it supposed to do.</p>
</blockquote>
Hah, yes! I also find the preview window zoom options annoying and I
had some plans to look at this. <br>
I will certainly look at your changes!<br>
I also intend to add mouse scrolling for zoom which is pretty
standard fare these days.<br>
<blockquote type="cite"
cite="mid:e93b57e4-2052-8186-fe6b-0e741efae053@maxamuxa.com">
<p>Minor changes:</p>
<p>* aclocal.m4 removed, it is a generated file.<br>
* configure, configure.in fixed, it could not detect SANE
installed.<br>
</p>
</blockquote>
This change is in progress. Yes, configure etc should be generated.<br>
<br>
<blockquote type="cite"
cite="mid:e93b57e4-2052-8186-fe6b-0e741efae053@maxamuxa.com">
<p> * New button 'Half frame for 135 type camera roll' added, it
creates a selection bix of the mentioned size that can be
dragged to shots on the camera roll.<br>
* New xsane_list_all_scanner_parameters() function in xSane that
dumps everything found in the results of sane_control_option().</p>
<p>I am not sure if my changes to configure files are good enough,
but the original files did not work at all.</p>
<br>
</blockquote>
No worries! Patches and enhancements always welcome.<br>
<br>
Cheers,<br>
Ralph<br>
</body>
</html>