dvkch / backlit Goto Github PK
View Code? Open in Web Editor NEWWirelessly scan a document on your iPhone, iPad or Mac
Wirelessly scan a document on your iPhone, iPad or Mac
https://github.com/alexpevzner/sane-airscan
The work has been started to compile the library on macOS, but it requires Avahi and DBus to work. We need to do a port of the library that would use NetServiceBrowser
instead of Avahi, and replace the DBus runloop by NSRunLoop
on macOS/iOS.
This is a huge undertaking and I will not have the time to work on it just yet, but will keep it in mind for future free times :)
Once the work is done and upstreamed, it should only be a matter of integrating it into Sane-build.rb
and Sane.xcframework
.
We could define per device presets, shared across iCloud devices.
The main issue with this task is that it would require to find the simplest way to represent selected device options, keeping in mind that some options may not be available up until another one is set to the proper value, or that adjusting an option's value could reset the value of another one.
A "best effort" way to do that would be to :
Option # -> Option Value
A more precise version of it could be :
(Option #, Option Value)
. optionally this list might be trimable under certain circumstances to prevent it from being extremely longNotes :
Hi @dvkch, want to say thanks on making this app! Just tested it out and works great on my device.
I was wondering if you would potentiall consider releasing this app on the altstore? (https://noah978.gitbook.io/altstore-docs/sources)
Right now, I have to manually compile the app and then reinstall it every 7 days on my device. Altstore could potentially leviate some of that burden.
Thanks!
It is a possibility that at the beginning of a scan we don't know its final height, cf Sane Get Parameters, parameter lines
.
This should not be hard to support in Sane.swift
, even image generation should work easily, but having a proper UI will require testing using a real device.
Maybe using https://github.com/AvdLee/Roadmap ?
There might be a way to do so from the file extension, adding a button that would show DeviceVC
for a selected device, and close by returning a given image or NSFileProviderItem
You have made the app I was looking for! Only to discover that it's not in the AppStore anymore :(
In some situations, especially on iOS, the device available memory can be maxed out be a large scan. Especially if we scan multiple files, in the current architecture all scans are kept in-memory up until they are saved by the Application.
It should be doable to scan to a file direct, appending data using an NSFileHandle
, and generating previews using Data(contentsOf: URL, options: .mappedIfSafe)
as the CGImage
data provider.
It would be extremely harder though to support exotic image formats like RGB 1bit that require manipulating data that was already scanned.
This is currently not a priority
Hi dvkch, is there a way to install this app in my iOS devices without a macOS environment?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.