diff --git a/README.md b/README.md index 5adda72..b556f13 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,74 @@ # Leaf +```man +USAGE: leaf [mode] [-options] directory + +Modes: +autocrop crop using row/column brightness method + -levels= levels adjustment for resulting image (ex. "0-253,0-2,0-255") + -trim= pixels to trim from top, right, left, bottom +build combine images into a pdf with img2pdf +clean remove scratch files +crop define EXIF crop values using template files + -crops= (6) specify how many files to use +desort remove image sequence prefix +deskew detect rotation angles + -max= (.4) angles greater than this value are ignored + -pad= (80) pixels to pad around crop area + -contrast= (20) levels attenuation + -size= (2200) dmap size in pixels + -nomap don't use dmaps +depaper divide page with itself using mask (better despine) + -mask= mask file for spine-left image + -mpush= levels for divide map (ex. "0-253,0-2,0-255") + -mix=<0-100> (null) percentage mix with original (90% = mostly og) + -skip=