[sane-devel] Sane (gut trunk) on Cygwin
Hi there, I don't know if Cygwin is oficially supported, I didn't even check, but it works quite well (at least my Epson Perfection 1200 now came back to life on Windows 7using Cygwin & Sane). However, "sanei_ir.c" includes "values.h", which is deprecated IHMO and should be replaced by "float.h" and "limits.h" in this case I think. Cygwin also doesn't provide "values.h". Using the folowing patch sane compiles fine on Cygwin: diff --git a/sanei/sanei_ir.c b/sanei/sanei_ir.c index 42e82ba..47e1e6e 100644 --- a/sanei/sanei_ir.c +++ b/sanei/sanei_ir.c @@ -29,7 +29,8 @@ #include #include -#include +#include +#include #include #define BACKEND_NAME sanei_ir /* name of this module for debugging */ Greetings Alexander signature.asc Description: OpenPGP digital signature -- sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org
Re: [sane-devel] manual "exposure time" in Genesys Backend
Hi, Thank's for your answer. Am 26.09.2015 um 18:33 schrieb Stef: > > have you tried to tweak genesys frontend's analog gain ? Exposure > is also related to motor speed, and will be really complicated to set up. Hmm, yea, I was afraid of this - the link between Motor-Drive and Exposure . I did play around with the analog frontend. However, I could not really see much a difference. I will try to find out witch DAC is in the Scanner to look for it's datasheet. However, Gain and Offset will probably not compensate a few ms of optical integration... I'm playing around with other scanners also, I'll see what will work. Regards, Alex signature.asc Description: OpenPGP digital signature -- sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org
[sane-devel] manual "exposure time" in Genesys Backend
Hi, I'm currently playing around with the genesys backend, trying to force the scanner to over-/underexpose the image. The backend already has the option to switch the lamp off; I'd like to use that feature to scan arbitrary translucent/projected images - but I would have to control the exposure time. I'm a bit confused of the various calculation steps needed to calculate the "exposure"; if I simple overwrite the exposure_time calculated during scaning to a custom value, the head moves slowly but scans only a small portion of the image. I looked into the datasheet of the Genesys GL841 chip; I guess the "line peroid" setting is the right thing to change, but it seems this is also linked to the motor driving unit? I realize this is probably a silly question and an absolutely non-standard usecase, but maybe someone on the list can still help? Anyway.. thanks in advance, Alexander -- sane-devel mailing list: sane-devel@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-requ...@lists.alioth.debian.org
[sane-devel] plustek backend - lamp-switch option
Hi, Am 19.04.2013 08:09, schrieb Gerhard J?ger: [...] give it a try and post the patch for review. I'm also not very familiar with git, but it's in fact not that hard to learn... - Gerhard Done, I think. I had downloaded the latest stable version (1.0.23) as tar-ball and not via git, which didn't easy up the task, but it's not a big change anyway... The diff is on pastebin: http://pastebin.com/S46jBi36 Looking forward to your comments ;-) -- Alexander -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130419/a812ac5c/attachment.pgp
[sane-devel] plustek backend - lamp-switch option
Hi, Am 16.04.2013 08:24, schrieb Gerhard J?ger: Hi, On Sunday 14 April 2013 16:03:49 Alexander Hofmann wrote: [...] Does that mean that the scanner supports scanning with the lamps off? (e.g. to scan negatives)? no. Switching the lamps while scanning is performed by the backend. Indeed, I located the code (calls to usb_LampOn in plustek-usb.c)... If so, how should I use that option? This option is available to provide a way for a possible frontend like XSane for switching on or off the lamp manually for example before doing a scan. Could be interesting when skipping the warmup option - which is in fact only useful for CCD based scanner that hav a CCFL lamp. Ok, so not what I was searching for. Switching lamps off and on during scans/calibration steps when using CCFL tubes might not be the best idea either... Regarding writing a backend, this one could be a starting point http://www.sane-project.org/backend-writing.txt That one helped me out: I was able to add a new option, dark-scan to the plustek backend, that causes the driver to switch of the lampes the moment the scan begins. It works like a charm - digitizing old S/W negatives works, and so does scanning pictures projected by scanner cameras. As the scanner is recording red, green and blue channels one by one, color's not possible of course, except with using filters and scanning the image thrice, witch might produce some interesting results when using IR, I've yet to check that. If there's interest in the change, I could try to provide a patch, although I'm not very familiar of using git... Thanks for the help, Alexander -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130418/c724d345/attachment.pgp
[sane-devel] plustek backend - lamp-switch option
Hi, there. I'm currently playing around with the SANE API. When listing all options available for my scanner (Canon N670U a.k.a LiDE 20) I noticed an option called lamp-switch. It provides a description saying it's for Manually switching the lamp(s).. Does that mean that the scanner supports scanning with the lamps off? (e.g. to scan negatives)? If so, how should I use that option? I tried setting it to 1 just bevore starting the scan, but I didn't see any changes. Also, is there any comprehensive documentation about the various options each backand provieds? I checked the manpages, but the lamp-switch option doesn't seem to be documented there. Thanks in advance, Alexander Hofmann -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 268 bytes Desc: OpenPGP digital signature URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130414/b6e97b92/attachment.pgp