[SOLVED] textcleaner and rotation

A plethora of command-line scripts that perform geometric transforms, blurs, sharpens, edging, noise removal, and color manipulations.
Post Reply
mike271828
Posts: 5
Joined: 2015-09-29T03:05:37-07:00
Authentication code: 1151

[SOLVED] textcleaner and rotation

Post 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?
Last edited by mike271828 on 2015-09-29T11:34:09-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: textcleaner and rotation

Post 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.
mike271828
Posts: 5
Joined: 2015-09-29T03:05:37-07:00
Authentication code: 1151

Re: [SOLVED] textcleaner and rotation

Post by mike271828 »

clear, thx
Post Reply