Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create scanner package #32

Open
Jupi007 opened this issue Nov 7, 2024 · 3 comments
Open

Create scanner package #32

Jupi007 opened this issue Nov 7, 2024 · 3 comments

Comments

@Jupi007
Copy link
Collaborator

Jupi007 commented Nov 7, 2024

This package should totally abstract SANE.

final finder = ScannerFinder();
final scanner = finder.lookup().first;

scanner.configure(
  ScanOptions(
    mode: ScanMode.color,
    resolution: 600,
    ...
  )
);
final scanStream = scanner.scan();
@Craftplacer
Copy link
Collaborator

What about other scanning libraries like Windows Image Acquisition, etc.? Is it also in the scope of that library?

@Jupi007
Copy link
Collaborator Author

Jupi007 commented Nov 7, 2024

The goal is to provide a generic interface, on which other scanning library can be plugged on.

@Craftplacer
Copy link
Collaborator

Craftplacer commented Nov 8, 2024

We maybe should specify/design the API first before we start implementing/working on it.

Maybe do a bit of research: how do the APIs of other OS scanning libraries look like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants