from top, trim to first white horizontal line,from bottom, trim to first black horizontal line
Posted: 2018-01-19T12:12:31-07:00
Now I would like to remove/delete the rest colors, something like -trim of all non-white and non-black colors. What is the elegant way of doing it? Thanks in advance.
Background: The images I have are simply screenshots of .txt files in eaglemode, so I would like to keep only the "text containing" area, removing rest. What I am doing is, sorting the lines by length, then want to get this line shapes, simply as black field, against white. Those shapes I want to use as masks for other purposes. Thanks a lot.
UPDATE:
More precise description of the problem would be:
-from top, trim up to first white horizontal line
-from bottom, trim up to first black horizontal line
Background: The images I have are simply screenshots of .txt files in eaglemode, so I would like to keep only the "text containing" area, removing rest. What I am doing is, sorting the lines by length, then want to get this line shapes, simply as black field, against white. Those shapes I want to use as masks for other purposes. Thanks a lot.
UPDATE:
More precise description of the problem would be:
-from top, trim up to first white horizontal line
-from bottom, trim up to first black horizontal line