there is no requirement in the sane api as to the scale of your brightness controls. You should be able to leave them at -60 to +60, and XSANE should scale them to match it's internal requirements. I use -127 to +127 in the fujitsu backend.<br>
<br>allan<br>
<br><div class="gmail_quote">On Fri, Jul 20, 2012 at 8:58 AM, Ganapati Hegde <span dir="ltr"><<a href="mailto:ganapati.hegde@celstream.com" target="_blank">ganapati.hegde@celstream.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">Hi ,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am looking to add new brightness and contrast range from backend
code. If it is possible how can I do this. <u></u><u></u></p>
<p class="MsoNormal">I am using xsane as my frontend and it supports -100 to +100
range. I need range in -60 to +60. If possible to add new range how it would be
different from xsane range. <u></u><u></u></p>
<p class="MsoNormal">I have tried to add range in backend code but UI will display
brightness and contrast in Standard option window and brightness is not working.
It would be of great help if I got information on this.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards<u></u><u></u></p>
<p class="MsoNormal">Ganapati<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<table><tbody><tr><td bgcolor="#ffffff"><font color="#000000"><pre>______________________________________________________________________________
DISCLAIMER: This electronic message and any attachments to this electronic
message is intended for the exclusive use of the addressee(s) named herein
and may contain legally privileged and confidential information. It is the
property of Celstream Technologies Pvt Limited. If you are not the intended
recipient, you are hereby strictly notified not to copy, forward, distribute
or use this message or any attachments thereto. If you have received this
message in error, please delete it and all copies thereof, from your system
and notify the sender at Celstream Technologies or
<a href="mailto:administrator@celstream.com" target="_blank">administrator@celstream.com</a> immediately.
______________________________________________________________________________</pre></font></td></tr></tbody></table>
<br>--<br>
sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org" target="_blank">sane-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
to <a href="mailto:sane-devel-request@lists.alioth.debian.org" target="_blank">sane-devel-request@lists.alioth.debian.org</a><br></blockquote></div><br><br clear="all"><br>-- <br>"The truth is an offense, but not a sin"<br>