Re: [sane-devel] [PATCH v3] Swap bytes in 16-bit PNGs, because PNG is big-endian.

2017-04-15 Thread Aaron Muir Hamilton
Sorry about the volume, third time is definitely the charm. Admittedly I struggled to grasp the style rules. I noticed the PNG byte order issue fixed by this patch when using genesys with a CanoScan LiDE 220. I do not have any other supported scanners close at hand, so I hope somebody can confirm

[sane-devel] [PATCH v3] Swap bytes in 16-bit PNGs, because PNG is big-endian.

2017-04-15 Thread Aaron Muir Hamilton
--- frontend/scanimage.c | 13 + 1 file changed, 13 insertions(+) diff --git a/frontend/scanimage.c b/frontend/scanimage.c index 77c2288..0925039 100644 --- a/frontend/scanimage.c +++ b/frontend/scanimage.c @@ -1529,6 +1529,19 @@ scan_it (FILE *ofp) for(j = 0

[sane-devel] [PATCH v2] Swap bytes in 16-bit PNGs, because PNG is big-endian.

2017-04-15 Thread aaron
--- frontend/scanimage.c | 13 + 1 file changed, 13 insertions(+) diff --git a/frontend/scanimage.c b/frontend/scanimage.c index 77c2288..961ca49 100644 --- a/frontend/scanimage.c +++ b/frontend/scanimage.c @@ -1529,6 +1529,19 @@ scan_it (FILE *ofp) for(j = 0

[sane-devel] [PATCH] Swap bytes in 16-bit PNGs, because PNG is big-endian.

2017-04-15 Thread Aaron Muir Hamilton
--- frontend/scanimage.c | 13 + 1 file changed, 13 insertions(+) diff --git a/frontend/scanimage.c b/frontend/scanimage.c index 77c2288..d719c4b 100644 --- a/frontend/scanimage.c +++ b/frontend/scanimage.c @@ -1529,6 +1529,19 @@ scan_it (FILE *ofp) for(j =

Re: [sane-devel] scanbd and Canon LiDE 60: buttons not recognized ?

2017-04-15 Thread Florian Gagel
Hi Wilhelm, thanks, your modification made all four buttons work ! This seems somewhat surprising to me at first glance, should the backend not be strcmp'ed using "==0", providing an own section for each backend :-) ? Anyway, it works, even if the buttons are somewhat scrambled: (Button pre

Re: [sane-devel] scanbd and Canon LiDE 60: buttons not recognized ?

2017-04-15 Thread Wilhelm
Am 15.04.2017 um 16:13 schrieb Florian Gagel: > Hi Wilhelm, > > thanks for your reply - I made some progress in this issue however > still did not fully succeed. > > - First step as you told me: make clean, configure --enable-scanbuttond, > make, make install, copy manually the > old backends to

Re: [sane-devel] scanbd and Canon LiDE 60: buttons not recognized ?

2017-04-15 Thread Florian Gagel
Hi Wilhelm, thanks for your reply - I made some progress in this issue however still did not fully succeed. - First step as you told me: make clean, configure --enable-scanbuttond, make, make install, copy manually the old backends to /usr/local/lib/scanbd/scanbuttond as described in the RE

Re: [sane-devel] Xerox WorkCentre 6027

2017-04-15 Thread Torfinn Ingolfsen
On Fri, Apr 14, 2017 at 9:41 PM, Mayer Landau wrote: > Hi Torfinn, > That Xerox download only supports the printer part. > > I have no problem trying to help the developers with the xerox backend. > You mention turning on all the debug info. > At this moment in time, I don't know how to do that.

Re: [sane-devel] scanbd and Canon LiDE 60: buttons not recognized ?

2017-04-15 Thread Wilhelm Meier
Hi Florian, scanbd totally relies on libsane to read the option (button) values. It is known, that some backends aren't capable doing this ... For the Lide60 you can try uing the old scanbuttond backends included in the scanbd source tree. See the ReadMe.txt for instructions please. Am 15.04.2

[sane-devel] scanbd and Canon LiDE 60: buttons not recognized ?

2017-04-15 Thread Florian Gagel
Hi, my LiDE60 is working well, either directly using scanimage with scanbd not running, as "genesys:libusb:001:016" or with running scanbd using xinetd as "net:localhost:genesys:libusb:001:016". However, none of the four buttons seem to be recognized: root@gandroid:/usr/local/etc/scanbd# scan