As requested on blog:
Can you explain how to simply find the angle but not rotate using this tool? Since I’m dealing with archival TIFFs I need to keep the DPI and embedded metadata in place, so I’m thinking I would use ImageMagick to rotate once I have the angle. Thanks.
For now you could use -l parameter: -l angle: Skip deskewing step if skew angle is smaller And use some large threshold so rotation will always be skipped.
$deskew -l 80 Sken003.png ... Preparing input image (Sken003.png) ... Calculating skew angle... Skew angle found: 0.23 Skipping deskewing step, skew angle lower than threshold of 80.00 Done!
For next version I plan to modify this: angle is optional and if omitted rotation is always skipped.