scantailor-cli How to set image size.

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

scantailor-cli How to set image size.

Postby elviejo » 27 Jun 2012, 17:13

I'm using scantailor-cli to process images one by one.
the problem with this approach is that, in the end all images
end up being of different size. since the size is proportional
to the content box that was found.

However I do know that all this images should in fact be the same size
at the end
Is there a configuration option to set the final size of the image?

For reference this is the command line I'm using:
Code: Select all
scantailor-cli -v    \
--layout=1.5  \
--dpi=264  \
--output-dpi=200  \
--content-detection=109x267:1482x2134  \
--margins-top=5  \
--margins-bottom=5  \
--margins-left=10  \
--margins-right=10  \
--alignment-horizontal=center  \
--alignment-vertical=top \
--threshold=9 \
/home/agarcia/Dropbox/Camera\ Uploads/10-waitingScanTailor/$imagefile \
/home/agarcia/Dropbox/Camera\ Uploads/20-waitingOCR/
elviejo
 
Posts: 1
Joined: 27 Jun 2012, 02:42

Re: scantailor-cli How to set image size.

Postby pejuko » 05 Jul 2012, 05:49

To keep same size for all images you need either process them all togather or try use --content-box=109x267:1482x2134 parameter instead of --content-detection (this parameter is for something else :-) ).
pejuko
 
Posts: 30
Joined: 17 Feb 2011, 17:06


Return to Scan Tailor

Who is online

Users browsing this forum: No registered users and 3 guests