Search found 3 matches

by Barruel
2013-06-21T09:01:21-07:00
Forum: Fred's Scripts
Topic: Fred's ImageMagick Scripts
Replies: 65
Views: 97627

Re: Fred's ImageMagick Scripts

Barruel wrote:Now I have to find a way to make that black background transparent.
Done. Got it from here.

Code: Select all

convert tool.png -bordercolor white -border 1x1 -matte -fill none -fuzz 7% -draw 'matte 1,1 floodfill' -shave 1x1 white_floodfill.png
by Barruel
2013-06-21T06:58:23-07:00
Forum: Fred's Scripts
Topic: Fred's ImageMagick Scripts
Replies: 65
Views: 97627

Re: Fred's ImageMagick Scripts

Ok. I've got my images correctly placed over a black background by removing the -trim in the line 385: # Then trim and deskew/unrotate to make the output. if [ $unrotate -eq 1 -o $unrotate -eq 3 ]; then convert $tmpA1 $tmpA4 -compose multiply -composite \ -fuzz ${fuzzval}% -trim -background "$bcolor...
by Barruel
2013-06-21T01:32:54-07:00
Forum: Fred's Scripts
Topic: Fred's ImageMagick Scripts
Replies: 65
Views: 97627

Re: Fred's ImageMagick Scripts

Hi. I'm into the book scanning thing and I've recently came into IM, which has allowed me to automate almost every part of the process. The only thing which I am doing now manually is extracting pictures from pages. I need to do this because I process the text (with IM) to b/w images, and I have to ...