Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Remove ragged black edge from scanned images

$
0
0
Dirk

Fred offered the follow UNIX example as a solution to cleaning up my borders.
(Note: My files are B/W Png which will be later converted to tiff)

I have tried using the ImageMagick convert.exe, but it complains about 'head' in the command line.

In unix syntax:

size=`convert test.tiff -format "%wx%h\n" info: | head -n 1`
convert test.tiff -quiet -shave 75x75 -background white -extent $size newtest.tiff

How would we do this using Magick ?

Michael Wechter


Viewing all articles
Browse latest Browse all 3693

Trending Articles