OS/2, eCS & ArcaOS - Technical > Applications
PMInSANE :-P
Jan-Erik Lärka:
I've put togheter this GUI application... nothing fancy, but fun.
It just work and scan stuff on my CanoScan LiDE 25 on both my laptop and workstation with SANE 1.0.27 from Paul Smedley.
Possible parameters with examples/alternatives/info:
-DEVICE plustek:libusb:001:001 (Force the use of a certain device)
-MODE Color ( BW, 8G, RGB, Color, ... )
-UNIT cm ( mm, cm, inch )
-DPI 300 ( 75, 150, 300, 600, ... )
-O C:\Temp ( C:\Temp\MyScannedImage )
-AREA 10 10 50 50 ( Left Top X Y )
-BATCH (Run in batch mode and return after scan)
Paul Smedley:
Cool!!! I should look at building the latest SANE...
Dariusz Piatkowski:
Jan-Erik!
Very cool...I do quite a bit of scanning on my HP 6390C scanner (automotive hobby and so many VERY LARGE parts books to digitize LOL), so this is very handy indeed.
In fact, I had previously written a REXX script which allowed me to basically pass various parameters to drive the scanner with. All of my post-processing is then done in PMView which is called automatically once the scanner job completes.
What I particularly love about your approach is the abiility to do a quick assessment (Preview, yes?) and immediate cropping of the interested area!!!
OK, so from a feedback perspective (where I hope you do not object to the "umm, can we made this better?" parts):
1) Your app recognized my HP ScanJet 6390C (63X0C, Model C7670A, Rev=3945) scanner w/o any problems...it is USB aattached and currently working with, NICE!
2) I have WPS set to auto-focus and move cursor to pop-up windows/buttons (centering over them) and your handy pop-up 'Help' buttons cause my cursor to immediately get re-positioned over them, which honestly makes trying to use the app very hard
3) Any chance to create a 'Settings' page where perhaps some of the stuff (like the pop-ups) could be turned ON/OFF?
4) Any chance to account for:
- dynamic file creation filename
- passing the file to another app like PMView
- file image choice: JPEG, TIFF, BMP, etc
Alright...that's all, the effort is greatly appreciated, so Thank You!!!
-Dariusz
BTW: I had a couple of crashes, are you interested in seeing these?
Pete:
Hi Dariusz
Maybe HPscan would be worth a try http://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/apps/graphics/scan/HPscan_1-00.zip
Regards
Pete
Jan-Erik Lärka:
--- Quote from: Dariusz Piatkowski on December 17, 2024, 03:04:01 am ---Jan-Erik!
Very cool...I do quite a bit of scanning on my HP 6390C scanner (automotive hobby and so many VERY LARGE parts books to digitize LOL), so this is very handy indeed.
In fact, I had previously written a REXX script which allowed me to basically pass various parameters to drive the scanner with. All of my post-processing is then done in PMView which is called automatically once the scanner job completes.
What I particularly love about your approach is the abiility to do a quick assessment (Preview, yes?) and immediate cropping of the interested area!!!
OK, so from a feedback perspective (where I hope you do not object to the "umm, can we made this better?" parts):
1) Your app recognized my HP ScanJet 6390C (63X0C, Model C7670A, Rev=3945) scanner w/o any problems...it is USB aattached and currently working with, NICE!
2) I have WPS set to auto-focus and move cursor to pop-up windows/buttons (centering over them) and your handy pop-up 'Help' buttons cause my cursor to immediately get re-positioned over them, which honestly makes trying to use the app very hard
3) Any chance to create a 'Settings' page where perhaps some of the stuff (like the pop-ups) could be turned ON/OFF?
4) Any chance to account for:
- dynamic file creation filename
- passing the file to another app like PMView
- file image choice: JPEG, TIFF, BMP, etc
Alright...that's all, the effort is greatly appreciated, so Thank You!!!
-Dariusz
BTW: I had a couple of crashes, are you interested in seeing these?
--- End quote ---
I'd like to see the crashes.
I understand your point regarding autofocus, now that you mention it.
I'll have to think about how to do it, as the bubble help use a hidden input field to get triggered.
It should be doable with a setting, a nice Christmas task to turn autofocus on and off.
The library rxImgSze depend on the version of GBM installed. Ensure you have a recent version (GBM 1.77), and it can convert between formats.
-O redirect the output and the file name depend on if you specify a \ last or not and if it is a folder name.
If PMView could call this app it would alse be able to grab the output (though as pnm or bmp at present)
I've created another app that use this one to scan invoices (Swedish) ocr the output and then calculate the check sum to verify the invoice information.
Navigation
[0] Message Index
[#] Next page
Go to full version