[sane-devel] Using the API to set preview mode on an Epson Perfection

2006-01-24 Thread Vacuum Joe
x27;s a function of the frontend: Just scan the whole scan area with a low resolution. Vacuum Joe wrote: > I have written my own scanner controler (using JNI, so I can scan from > Java). My scanner here is an Epson Perfection 2400. When I go through > and list all the options for it,

[sane-devel] JNI code for SANE

2006-01-24 Thread Vacuum Joe
Hello SANE developers, I have written a simple JNI interface to SANE. It works pretty well and lets me do scans, display them, etc, all within Java. I am interested in possibly getting this included in the SANE project under the same license as SANE itself. Would the devs be open to this?

[sane-devel] JNI code for SANE

2006-01-25 Thread Vacuum Joe
Jens Gulden wrote: Any URL to take a look at it? Jens Vacuum Joe schrieb: > Hello SANE developers, > > I have written a simple JNI interface to SANE. It works pretty well and lets > me do scans, display them, etc, all within Java. I am interested in possibly > getting this

[sane-devel] Try it out: SANE, JNI and Java all in an applet

2006-01-26 Thread Vacuum Joe
Scan from your web browser I have tested this in Firefox. Obviously you need to save the .so somewhere that the JVM will load it. It has some bugs, too. If the SANE project wants, we could release the JNI part of that as GPL. Ideally a) the code becomes part of the SANE project and b)

[sane-devel] Try it out: SANE, JNI and Java all in an applet

2006-01-26 Thread Vacuum Joe
I noticed in my logs that some people are trying this. However, I posted the wrong link. This is the correct link to scan from your browser. Also I notice that no one has downloaded the libscanner.so file. This is JNI, and the whole thing won't work without the libscanner.so file downloaded

[sane-devel] JNI code for SANE

2006-01-26 Thread Vacuum Joe
Could you explain for java-impaired people like me what jni is, how it is connected to java and how your project is different to the other java projects? There is already code that comes with SANE (sane-backends/japi), there is jsane (commercial, http://asprise.com/product/jsane/index.php) and mo

[sane-devel] Try it out: SANE, JNI and Java all in an applet

2006-01-27 Thread Vacuum Joe
Thanks for testing it out and for the detailed bug report. I have made an updated version that should fix the bugs you reported on the depth issue, and on the no-scanners issue. As for the security settings in Konq and the plug-in in Firefox, those are unfortunately limitations of the platform th

[sane-devel] Try it out: SANE, JNI and Java all in an applet

2006-01-29 Thread Vacuum Joe
Hi Oliver, Thank you for taking the time to try it out, and for your detailed bug reports. > yes, it works now - nice. One thing I noticed is > that the scan button > becomes inactive after the scan, so you can only run > the applet once. > The clear button seems to have no effect at all. Righ

[sane-devel] JNI code for SANE

2006-01-29 Thread Vacuum Joe
> So once the GPLed code has been found ok I think it > can get part of > sane-frontends. Excellent! > Concerning japi I think we should pack it into a > .tar.gz file, put in > on the ftp server and link to it somewhere in case > somebody is still > interested. Then it can be removed from > sane