Trimming borders. Nothing seems to work.
Posted: 2008-12-09T20:55:05-07:00
I have a pdf full of scanned images. I have taken out one image and put it here:
http://i38.tinypic.com/2mhiom9.jpg
I am trying to get rid of the black border around the scanned page (or as much of it as I can).
I know there is a thin white border around the black one.
I try:
convert file.jpg -fuzz 50% -trim +repage out.jpg
And it doesn't even get rid of the white border. I try all different fuzz numbers. I've been trying everything I can but nothing works.
I try
convert file.jpg -bordercolor whilte -border 1x1 -fuzz 80% -trim +repage out.jpg
And it still does nothing.
Can someone tell me what magic I need to use to get rid of both the thin white and thick black borders?
I have read the http://www.imagemagick.org/Usage/crop/#trim and all that works great on the simple images, but nothing works on my images for some reason. I've tried converting them to gif, jpg, tif, etc. They are greyscale tif originally in the PDF.
Help!
http://i38.tinypic.com/2mhiom9.jpg
I am trying to get rid of the black border around the scanned page (or as much of it as I can).
I know there is a thin white border around the black one.
I try:
convert file.jpg -fuzz 50% -trim +repage out.jpg
And it doesn't even get rid of the white border. I try all different fuzz numbers. I've been trying everything I can but nothing works.
I try
convert file.jpg -bordercolor whilte -border 1x1 -fuzz 80% -trim +repage out.jpg
And it still does nothing.
Can someone tell me what magic I need to use to get rid of both the thin white and thick black borders?
I have read the http://www.imagemagick.org/Usage/crop/#trim and all that works great on the simple images, but nothing works on my images for some reason. I've tried converting them to gif, jpg, tif, etc. They are greyscale tif originally in the PDF.
Help!