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
  Toolbox Icons are Grey - How to Change them to Color? fishbone 1 96 Jun 25, 2018 20:57
Last Post: paynekj
  Change blackest point to pure black and whitest to pure white Julienroy 1 223 Mar 19, 2018 19:02
Last Post: paynekj
  Want to do simple color change. SoyTits 2 235 Mar 8, 2018 23:43
Last Post: SoyTits
  Change color of arrow in arrow.scm gogreen 1 567 Jan 31, 2018 05:45
Last Post: ythgilb
  Is the "Change Foreground Colour" window dockable ? Ceriano 2 388 Oct 14, 2017 17:22
Last Post: Ceriano

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS