Scan Tailor "Experimental"

Scan Tailor specific announcements, releases, workflows, tips, etc. NO FEATURE REQUESTS IN THIS FORUM, please.

Moderator: peterZ

KevClifford
Posts: 8
Joined: 28 Jan 2016, 07:29
Number of books owned: 0
Country: UK

Re: Scan Tailor "Experimental"

Post by KevClifford »

Virustotal.com doesn't find Panda having an issue with the installation exe file. I'd already ran Panda on scantailor-cli.exe and it didn't throw anything up.
But that's not what I explained was happening. Panda threw a wobbly when I actually execute that file (when I try and install the program). If I disable Panda and install the program, Panda then also throws a wobbly after I turn it back on and it then quarantines the program exe file (not the installation exe file). Panda Free version on Win 7.
Tulon
Posts: 687
Joined: 03 Oct 2009, 06:13
Number of books owned: 0
Location: London, UK
Contact:

Re: Scan Tailor "Experimental"

Post by Tulon »

Does Panda give any additional information on why it quarantines that file?
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
whitepage
Posts: 16
Joined: 11 Mar 2015, 18:12
E-book readers owned: Onyx Note Pro, KDX
Number of books owned: 0
Country: New Zealand

Tools / Settings: dpi setting for advanced users

Post by whitepage »

Hi Tulon,

A thousand thanks for the amazing software.
I've shown my partner how to fix a dirty scan she found somewhere, and she was blown away.
Tulon wrote:Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing
I get that.
But could we please have an advanced setting under Tools / Settings so we can specify a dpi in the output file?
As you know Acrobat assumes 96dpi, and it refuses to OCR because it thinks the images are "too large" (in inches).

For this reason it seems like a lot of people are having to put the dpi back in using various batch tools.
If there was a simple advanced setting that would save us a lot of time.
I know you're reluctant to add dpi, so the standard could remain the same, and users only set the dpi in the Tools/Settings menu if they know what they're doing. You can even have a warning there:
"only set this if you know what you're doing", or
"warning: setting this does not affect image pixel output, just dpi metadata and therefore physical size".

Thank you in advance for considering it.
OCR.jpg
OCR.jpg (29.19 KiB) Viewed 8365 times
KevClifford
Posts: 8
Joined: 28 Jan 2016, 07:29
Number of books owned: 0
Country: UK

Re: Scan Tailor "Experimental"

Post by KevClifford »

Untitled-1.jpg
Untitled-1.jpg (98.83 KiB) Viewed 8344 times
Panda just reports it as being a virus.
Tulon
Posts: 687
Joined: 03 Oct 2009, 06:13
Number of books owned: 0
Location: London, UK
Contact:

Re: Tools / Settings: dpi setting for advanced users

Post by Tulon »

whitepage wrote: But could we please have an advanced setting under Tools / Settings so we can specify a dpi in the output file?
I'll think about it.
KevClifford wrote: Panda just reports it as being a virus.
I see. That's not very helpful. I am going to assume it's a false positive then.
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
whitepage
Posts: 16
Joined: 11 Mar 2015, 18:12
E-book readers owned: Onyx Note Pro, KDX
Number of books owned: 0
Country: New Zealand

Re: Tools / Settings: dpi setting for advanced users

Post by whitepage »

Tulon wrote:
whitepage wrote: But could we please have an advanced setting under Tools / Settings so we can specify a dpi in the output file?
I'll think about it.
Thank you for considering it.

It's just that one small box in Scan Tailor could save messing with far more complex dialogs in other programs down the line.

For instance here is how you batch-change the dpi in IrfanView:
zIrfan1.jpg
zIrfan1.jpg (95.4 KiB) Viewed 8335 times
zIrfan2.jpg
zIrfan2.jpg (147.95 KiB) Viewed 8335 times
In Photoshop, first we have to create an action:
zPHAction.jpg
zPHAction.jpg (10.39 KiB) Viewed 8335 times
Then apply it:
zAction2.jpg
zAction2.jpg (58.36 KiB) Viewed 8335 times
dtic
Posts: 464
Joined: 06 Mar 2010, 18:03

Re: Scan Tailor "Experimental"

Post by dtic »

@whitepage, worth mentioning that you can use the command line tool GraphicsMagick to quickly change the image dpi value like this

Code: Select all

gm.exe convert "C:\this file\file.tif" -density 600x600 "C:\this file\file.tif"
So you can try to make a small script that applies that command on all files that are dropped on the script.
diyfan
Posts: 7
Joined: 23 Dec 2015, 09:28
Number of books owned: 0
Country: France

Re: Scan Tailor "Experimental"

Post by diyfan »

First of all, I would like to congratulate you for such a nice software.

I am using Debian GNU/Linux with latest scantailor GIT experimental builds.
OpenGL acceleration works, OpenCL is not detected.

"Accelerate image processing with OpenCL" is greyed.
In previous versions of scantailor experimental, it used to work with free OpenGL drivers.

I am using an nvidia card with Nouveau free software driver, name "Nouveau".
It does support OpenCL.

Code: Select all

uname -a
Linux sony-vaio 4.4.0-1-amd64 #1 SMP Debian 4.4.2-3 (2016-02-21) x86_64 GNU/Linux

Code: Select all

dpkg-query -W ocl-icd*
ocl-icd-dev	2.2.8-1
ocl-icd-libopencl1:amd64	2.2.8-1
ocl-icd-opencl-dev:amd64	2.2.8-1

Code: Select all

dpk-query -W opencl-headers
opencl-headers	2.0~svn32091-2
When using this testing code:

Code: Select all

./print-devices
platform 0: vendor 'Mesa'
curl https://codeload.github.com/hpc12/tools/tar.gz/master | tar xvfz -
cd tools-master/
make
./print-devices
./print-devices
platform 0: vendor 'Mesa'
  device 0: 'NVA8'
Vendor is 'Mesa' and device is NVA8.
Last edited by diyfan on 22 Feb 2016, 12:49, edited 1 time in total.
Tulon
Posts: 687
Joined: 03 Oct 2009, 06:13
Number of books owned: 0
Location: London, UK
Contact:

Re: Scan Tailor "Experimental"

Post by Tulon »

According to https://nouveau.freedesktop.org/wiki/FeatureMatrix/, Nouveau doesn't support OpenCL.

If it worked with a CPU-based OpenCL implementation, it's possible that implementation doesn't support all the features required by Scan Tailor. Older versions of Scan Tailor didn't check whether all the required features are supported.
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.
diyfan
Posts: 7
Joined: 23 Dec 2015, 09:28
Number of books owned: 0
Country: France

Re: Scan Tailor "Experimental"

Post by diyfan »

You are completely right, my bad.
So I cannot use OpenCL.

Thanks for your work Tulon!
Post Reply