Giter Site home page Giter Site logo

sanenetscanner's Issues

Use adaptive Buffer algorithm

The aim is to make the User Interface as responsive as possible.

Therfore when we know the progress will be shown we should use a algorithm which updates often without inflecting on the performance when using to many updates.

An idea would be:

  • use a maximum of n bytes
  • measure the duration for the buffer to fill, adjust the buffer so that a buffer file takes between 150-250ms
  • use at most 1/10 of the available lines as buffer

Always align the buffer to line boundaries.

Possible bridge for TWAIN scanner: Image Capture → SaneNetScanner → localhost/saned → Scanner

Hi there,

I am curious, if this project could solve my problem: I have got an older Canon CanoScan LiDE 35 scanner which I managed to get working under 10.11 El Capitan with the sane-backend. Now I am able to performs scans from the command line with scanimage and friends. This works fine but just isn't the greatest experience in the world since there is no GUI to configure a scan job.

Now I am wondering, if I could use SaneNetScanner to connect to the local saned daemon on my Mac, which handles the scan and reports it back to SaneNetScanner/Image Capture. Does anyone have experience with such a setup? Does SaneNetScanner still run under 10.11 at all?

Thanks a lot!

SANE to AirScan Server

Christian,

thanks for your work, which helped me use a SANE scanner for some time from OSX clients!

Once it ceased to work in macos 10.12, I put some effort into a local fork of SaneNetScanner for a while but got pretty frustrated with both the Objective-C syntax, and Apple's lack of documentation about how to make an ICAScanner app work on recent versions of macos when running outside XCode.

Looking for an alternative, I stumbled across this post describing how Apple's AirScanScanner.app is able to utilize HP MFP devices for scanning, using an XML-based protocol called eSCL. Though I was unable to find any specification of that protocol, it was easy enough to disassemble AirScanScanner.app and the contained eSCL framework in order to understand enough of the eSCL protocol to write a SANE frontend that implements it.
The result of my efforts is available here. Currently, it runs on Linux and enables my Raspberry Pi to serve a Canon LiDE 60 to a local network.

I thought you might be interested in knowing that there is now a way to use SANE network scanners with Apple's Image Capture in macos Sierra.

Does this project use the GPL?

Hi Christian,

I am working on a scanner-driver project myself, and I might want to incorporate some of your code, but I can't find any reference to a license beyond the GPLv2 in the SaneOpts header and the BSD license in the Logger headers.

The SANE license does include certain exceptions to the GPLv2, but I don't think they apply in this case. Do you share this understanding? Unless for some reason you don't, could you add explicit license declarations to your own code? Thanks!

Best,
Elsie Hupp

Cropped and Rotated image produces wrong image

When the Image Capture Application is used to rotate and crop an image and the scanner uses the provided offset and size, the resulting image is not correct according to the desired area

Questions about SaneNetScanner

Hello, I am using sanenetscanner to link the scanner, but the program does not run normally and does not enter the gcdscannercallbackfunctions callback function. I also use the official virtual scanner for testing. If no code is changed, the program can be used, but if the program bundle identifier is modified, the program cannot run normally, Have you dealt with this problem in the future? There is no solution to this problem. Thank you very much for your reply.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.