ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28
Source: Scanned Typed Document, [US Letter 8.5x11 inches], (2550 x 3300 x 300 dpi)
Objective: deskew the above typed letter, and extend borders for padded fit, centered 'without' changing the size of the typed content.
Code: Select all
convert <image> -filter catrom -background white -deskew 80% +repage -gravity center -extent 2550x3300 <result>
-How can I extend the canvas with the existing color of the page border
-How can I make sure the original type size will remain the same, only deskewed
-Will "-background none" use the existing page edge color for the canvas ?
Thank you.