Page 1 of 1

[SOLVED] textcleaner and rotation

Posted: 2015-09-29T09:11:27-07:00
by mike271828
I tried to use this script http://www.fmwconcepts.com/imagemagick/textcleaner/ with -u (unrotate by few degrees) option and it worked fine

Code: Select all

textcleaner -g -f 25 -s 1 -u i.jpg o.jpg
However when instead of u I tried r ccw or r cc or r 90, none of them worked. Is it some bug?

Re: textcleaner and rotation

Posted: 2015-09-29T09:42:57-07:00
by fmw42
-r only works in conjuction with -l. The rotation by 90 only happens if the aspect of the image does not match the aspect of the layout. There is no -r 90, only cw or ccw. The default layout is portrait. So if your image is portrait, there will be no rotation.

Re: [SOLVED] textcleaner and rotation

Posted: 2015-09-29T11:34:17-07:00
by mike271828
clear, thx