[sane-devel] is there a virtual scanner for image files?
On Fri, 28 Dec 2007 20:14:31 +0100 Peter Rap The application is Adobe Acrobat Pro (any volunteers for modifying it ? ;) ). The thing is Acrobat can process scanned books or brochures oops :) in a nice way (i.e automatically remove the middle shadow between the pages, auto-align rotated pages, do OCR and add text version of the scanned document to the .pdf file it creates, etc. ). My plan was to feed the image files to sane, then use a sane-to-twain bridge (which I didn't know! Yes, I am aware of the pnm back-end, but from the man page of sane and sane-pnm I learned close to nothing (not even how to use that back- end). Does the convert utility convert multi-page zipped tiffs to pnm file(s)? If not, which program can I use instead? you should use tiffsplit to split the files and then tifftopnm . the backend should be easy to use, try with scanimage --device 'pnm:0' --help the backend is not compiled by default, youll have to enable it in the makefile. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] is there a virtual scanner for image files?
Thanks for advice to all, I will try the pnm-backend way Also thanks to Gerard for pointing me to the unpaper utility. It is a nice peace of software. Have a happy New Year, Peter. On Dec 29, 2007, at 1:01 AM, Alessandro Zummo wrote: On Fri, 28 Dec 2007 20:14:31 +0100 Peter Rap The application is Adobe Acrobat Pro (any volunteers for modifying it ? ;) ). The thing is Acrobat can process scanned books or brochures oops :) in a nice way (i.e automatically remove the middle shadow between the pages, auto-align rotated pages, do OCR and add text version of the scanned document to the .pdf file it creates, etc. ). My plan was to feed the image files to sane, then use a sane-to-twain bridge (which I didn't know! Yes, I am aware of the pnm back-end, but from the man page of sane and sane-pnm I learned close to nothing (not even how to use that back- end). Does the convert utility convert multi-page zipped tiffs to pnm file(s)? If not, which program can I use instead? you should use tiffsplit to split the files and then tifftopnm . the backend should be easy to use, try with scanimage --device 'pnm:0' --help the backend is not compiled by default, youll have to enable it in the makefile. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] is there a virtual scanner for image files?
Hi everybody, I apologize if a problem similar to mine has been already discussed in the list before. Nevertheless I need to solve the following. I have scanned some images and have the result stored as tiff files. What I need to do now is to scan these files again into an application which features some processing of data from a scanner (the processing features are available only on scanned data). I of course do not want to scan the physical images again, instead I want to feed the files I have into some kind of virtual scanner device which would look as a real scanner for the application and which would enable to only pass the images data from the files that I have to the application. Is this possible? Thanks in advance for any advice. Peter.
[sane-devel] is there a virtual scanner for image files?
On Fri, 28 Dec 2007 18:55:30 +0100 Peter Rap?an peter.rapcan at savba.sk wrote: Hi everybody, I apologize if a problem similar to mine has been already discussed in the list before. Nevertheless I need to solve the following. I have scanned some images and have the result stored as tiff files. What I need to do now is to scan these files again into an application which features some processing of data from a scanner (the processing features are available only on scanned data). I of course do not want to scan the physical images again, instead I want to feed the files I have into some kind of virtual scanner device which would look as a real scanner for the application and which would enable to only pass the images data from the files that I have to the application. Is this possible? Hi, I don't think there is a virtual tiff scanner, but it could be written :) you could also modify the application to read tiff file. which is the application in subject? -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] is there a virtual scanner for image files?
On Fri, 28 Dec 2007 19:40:44 +0100 Alessandro Zummo azummo-lists at towertech.it wrote: to scan the physical images again, instead I want to feed the files I have into some kind of virtual scanner device which would look as a real scanner for the application and which would enable to only pass the images data from the files that I have to the application. Is this possible? Hi, I don't think there is a virtual tiff scanner, but it could be written :) you could also modify the application to read tiff file. which is the application in subject? btw, I forgot to say that there is a pnm backend, so you can just convert your files to pnm and use it. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] is there a virtual scanner for image files?
Peter Rap?an peter.rapcan at savba.sk wrote: Hi, features are available only on scanned data). I of course do not want to scan the physical images again, instead I want to feed the files I have into some kind of virtual scanner device which would look as a real scanner for the application and which would enable to only pass the images data from the files that I have to the application. Is this possible? Have a look at the pnm backend. You'll need to convert your files to pnm beforehand, or modifiy the pnm backend to grok tiff files :) JB. -- Julien BLACHE http://www.jblache.org jb at jblache.org GPG KeyID 0xF5D65169
[sane-devel] is there a virtual scanner for image files?
Hi, Thanks for the reply. Please find my comments below: On Dec 28, 2007, at 7:44 PM, Alessandro Zummo wrote: On Fri, 28 Dec 2007 19:40:44 +0100 Alessandro Zummo azummo-lists at towertech.it wrote: to scan the physical images again, instead I want to feed the files I have into some kind of virtual scanner device which would look as a real scanner for the application and which would enable to only pass the images data from the files that I have to the application. Is this possible? Hi, I don't think there is a virtual tiff scanner, but it could be written :) you could also modify the application to read tiff file. which is the application in subject? The application is Adobe Acrobat Pro (any volunteers for modifying it ? ;) ). The thing is Acrobat can process scanned books or brochures in a nice way (i.e automatically remove the middle shadow between the pages, auto-align rotated pages, do OCR and add text version of the scanned document to the .pdf file it creates, etc. ). My plan was to feed the image files to sane, then use a sane-to-twain bridge (which I've found to exist) on a windows or Mac OS X machine and then let Acrobat do whatever I need via the twain interface... btw, I forgot to say that there is a pnm backend, so you can just convert your files to pnm and use it. Yes, I am aware of the pnm back-end, but from the man page of sane and sane-pnm I learned close to nothing (not even how to use that back- end). Does the convert utility convert multi-page zipped tiffs to pnm file(s)? If not, which program can I use instead? Thanks for any further advice... Peter. P.S.: I thought there must have been someone in need of similar functionality as I am and that some user-friendly way of just feeding any image file into a virtual scanner device would already exist... it seems such a natural feature to be implemented :)... -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] is there a virtual scanner for image files?
On Fri, 2007-12-28 at 20:14 +0100, Peter Rap?an wrote: Hi, Thanks for the reply. Please find my comments below: On Dec 28, 2007, at 7:44 PM, Alessandro Zummo wrote: On Fri, 28 Dec 2007 19:40:44 +0100 Alessandro Zummo azummo-lists at towertech.it wrote: to scan the physical images again, instead I want to feed the files I have into some kind of virtual scanner device which would look as a real scanner for the application and which would enable to only pass the images data from the files that I have to the application. Is this possible? Hi, I don't think there is a virtual tiff scanner, but it could be written :) you could also modify the application to read tiff file. which is the application in subject? The application is Adobe Acrobat Pro (any volunteers for modifying it ? ;) ). The thing is Acrobat can process scanned books or brochures in a nice way (i.e automatically remove the middle shadow between the pages, auto-align rotated pages, do OCR and add text version of the scanned document to the .pdf file it creates, etc. ). My plan was to feed the image files to sane, then use a sane-to-twain bridge (which I've found to exist) on a windows or Mac OS X machine and then let Acrobat do whatever I need via the twain interface... btw, I forgot to say that there is a pnm backend, so you can just convert your files to pnm and use it. Yes, I am aware of the pnm back-end, but from the man page of sane and sane-pnm I learned close to nothing (not even how to use that back- end). Does the convert utility convert multi-page zipped tiffs to pnm file(s)? If not, which program can I use instead? Thanks for any further advice... Peter. P.S.: I thought there must have been someone in need of similar functionality as I am and that some user-friendly way of just feeding any image file into a virtual scanner device would already exist... it seems such a natural feature to be implemented :)... -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it See this link for some programs http://www.sane-project.org/related.html The unpaper program can correct scanned pages. -- m.vr.gr. Gerard Klaver