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.
allan On Fri, Jul 20, 2012 at 8:58 AM, Ganapati Hegde < ganapati.hegde at celstream.com> wrote: > Hi ,**** > > ** ** > > I am looking to add new brightness and contrast range from backend code. > If it is possible how can I do this. **** > > 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. **** > > 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.**** > > ** ** > > ** ** > > Regards**** > > Ganapati**** > > ** ** > > ** ** > > ______________________________________________________________________________ > 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 > administrator at celstream.com immediately. > ______________________________________________________________________________ > > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin" -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120720/a0e0b2ea/attachment.html>