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
  Bucket fill - fill whole selection also affects pixels outside of selection tidbit321 2 150 Nov 26, 2018 14:05
Last Post: tidbit321
  global color change Whburling 1 215 Nov 18, 2018 21:49
Last Post: paynekj
  change everything NOT black to another color styler001 2 177 Nov 9, 2018 12:55
Last Post: styler001
  Change Print screen Image Settings dddemauro26 1 348 Sep 24, 2018 08:48
Last Post: paynekj
  Change number qim 1 270 Aug 27, 2018 17:54
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS