Post Reply 

[Solved] Change all pixels of one value to a different value.

May 29, 2012, 14:08 (This post was last modified: May 29, 2012 15:43 by michaelrmgreen.)
Post: #1
[Solved] Change all pixels of one value to a different value.
I have a diagram scanned in one pixel mode (b&w). I want to change the line color from black to blue.

I tried this:
In the toolbox I altered the foreground color to blue. In the 'Select' menu I used the 'By color' option. I made sure the settings in the toolbox for 'Select by color' were set at default, then I clicked on a black pixel in the image. The black lines in the image became outlined with a dotted line. I then used the 'Fill with FG color' option from the edit menu. The sample color to the left of the menu item was blue. The image briefly 'repainted'. I removed the selection using 'Select' 'None' but the image lines remain black.

Thanks for any advice.
Find all posts by this user
Quote this message in a reply
May 29, 2012, 15:32 (This post was last modified: May 29, 2012 15:36 by michaelrmgreen.)
Post: #2
RE: Change all pixels of one value to a different value.
Thanks for your quick reply. I really appreciate it. Unfortunately the suggestion didn't help, the selection still filled with black, even though the thumbnail color (next to 'Fill with FG color') and the toolbox foreground color are both blue. I accidentally removed the highlight round the lines and clicked with the bucket fill tool again. Of course this filled the whole 'page', but again black not blue. I tried again with the background color and got the selected area filled with white (BG color set to blue of course).

It seems whatever I set the foreground (and background) color to I can only get black or white. Might this be a problem with the file format. It's a scan in one bit mode. Anyway, it's attached.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
May 29, 2012, 15:37
Post: #3
RE: Change all pixels of one value to a different value.
Aha! I shall try that immediately....
Find all posts by this user
Quote this message in a reply
May 29, 2012, 15:42 (This post was last modified: May 29, 2012 15:45 by michaelrmgreen.)
Post: #4
RE: Change all pixels of one value to a different value.
Yes, that did it. Image -> Mode -> RGB. Thanks all.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How To Change PDF Pages To Suit Printout? abrogard 0 48 Mar 23, 2019 00:48
Last Post: abrogard
  How do I change font of placed text? JeffCyr 1 68 Mar 20, 2019 09:18
Last Post: paynekj
  HOw to change color of this? magnuslar 1 177 Feb 6, 2019 10:56
Last Post: paynekj
  Bucket fill - fill whole selection also affects pixels outside of selection tidbit321 2 314 Nov 26, 2018 14:05
Last Post: tidbit321
  global color change Whburling 1 346 Nov 18, 2018 21:49
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS