Search found 8 matches
- 2015-02-12T18:52:14-07:00
- Forum: Users
- Topic: Trying to remove all colors except black
- Replies: 13
- Views: 11563
Re: Trying to remove all colors except black
well yeah modified for correct file names. It's inside a script and runs on many images so.. any way. point is it worked.
- 2015-02-12T14:08:12-07:00
- Forum: Users
- Topic: Trying to remove all colors except black
- Replies: 13
- Views: 11563
Re: Trying to remove all colors except black
Wanted to swing by and say thanks to ya'll. I ended up using convert color3.tiff -contrast-stretch 35,25% t.png followed by convert color3.tiff -alpha off -fuzz 10% -fill white +opaque black result.tiff Worked perfectly. Removed the color backgrounds entirely and I was then able to crop and OCR the ...
- 2015-02-07T19:58:07-07:00
- Forum: Users
- Topic: Trying to remove all colors except black
- Replies: 13
- Views: 11563
Re: Trying to remove all colors except black
Well that kind of works. However it keeps a ton of the images which are a dark color but not black... I may be barking up the wrong tree here. I'm just trying to get this simple for tesseract and find a way to automate the process.... cropping is so error prone since the images I'm taking in are not ...
- 2015-02-07T19:38:47-07:00
- Forum: Users
- Topic: Trying to remove all colors except black
- Replies: 13
- Views: 11563
Re: Trying to remove all colors except black
version mageMagick-6.9.0-Q16 windows.
- 2015-02-07T19:37:51-07:00
- Forum: Users
- Topic: Trying to remove all colors except black
- Replies: 13
- Views: 11563
Re: Trying to remove all colors except black
The link is on drive here: https://drive.google.com/file/d/0B2aTfI9sj6x9VmtHTFRpVDJUVWs/view?usp=sharing should be public Oh.. Well here is relevant info. It's also outputting this error: convert.exe: Unknown field with tag 20624 (0x5090) encountered. `TIFFReadDirectory' @ warning/tiff.c ...
- 2015-02-07T18:37:53-07:00
- Forum: Users
- Topic: Trying to remove all colors except black
- Replies: 13
- Views: 11563
Re: Trying to remove all colors except black
Alright, well I do also have imagemagick. I ran this by imagemagick (not graphics magick this time) and replaced the -opaque with a +opaque. Now I do get changed output. However I'm getting a plain white wash. No black or any thing like it. I also tried the double %% as suggested. Not a windows ...
- 2015-02-07T18:14:37-07:00
- Forum: Users
- Topic: Trying to remove all colors except black
- Replies: 13
- Views: 11563
Re: Trying to remove all colors except black
Wow. I can not say how much of a dope I feel right now.
Thank you for pointing that out though.
wow
Thank you for pointing that out though.
wow
- 2015-02-07T17:45:05-07:00
- Forum: Users
- Topic: Trying to remove all colors except black
- Replies: 13
- Views: 11563
Trying to remove all colors except black
convert C:\temp\color.tiff -fuzz 10% -fill white -opaque black c:\temp\bw.tiff
The output file is 100% identical to the input.
I'm clearly missing some thing very simple but I haven't the foggiest.
The output file is 100% identical to the input.
I'm clearly missing some thing very simple but I haven't the foggiest.