It is currently Sun Sep 20, 2026 2:32 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Remove red from border
PostPosted: Fri May 31, 2013 9:56 am  (#1) 
Offline
New Member

Joined: May 31, 2013
Posts: 1
GIMP Version: 2.8.2
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Beginner Level



Hi there,

I'm attempting to remove the red colour from the border of this image. I don't want to make it white, but I would like to turn the redish pixels to light grey so that it blends well with light and dark backgrounds.
Attachment:
ANSI_Danger_Symbol2.png
ANSI_Danger_Symbol2.png [ 836 Bytes | Viewed 2854 times ]

I would be most grateful if you could provide steps to achieve this. I've tried a number of different ways of achieving this to no avail (probably due to my ignorance of the software!).

Many thanks.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Remove red from border
PostPosted: Fri May 31, 2013 10:08 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2012
Posts: 949
Location: Mesa, AZ
You can do it with just one layer. Open your png in gimp, then go to the :colsel color select tool, set the mode to 'add to current selection', the Threshold to about 25 or so and then click on the orange parts. this will select any and all orange and if you click around enough, it will select every pixel with that color.

Once you have a satisfactory selection, go to the paint brush tool :brush and pick a suitable color from :fg2bg the color swap. Click on the foreground color (default black) to get a color editor. Then paint on the selected areas that are the edge of the icon, don't paint on the middle red exclamation point.

Once done, export to png and you're golden.

Hope this helps.

_________________
Image

I now have a Tumblr, check it out!


Top
 Post subject: Re: Remove red from border
PostPosted: Fri May 31, 2013 12:03 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
- Lock the alpha channel (checkerboard in the "Lock" line above the Layers list). This will act as a masking tape for the transparent part
- Set your foreground color
- Start the paint brush, use a hard brush wide enough to over the border, narrow enough to maneuver around the exclamation point (3-5 pixels).
- Set the paintbrush tool to "Color" mode (top of tool options)
- Paint without fear along the border: the transparent parts are protected by the alpha-lock, and the white ones will stay white because white isn't affected by a brush in color mode.

Another solution is to use that as a model a redo a new sign from scratch using paths, or even more simply grabbing the path from an existing SVG (for instance: http://en.wikipedia.org/wiki/File:Cauti ... ads_pn.svg) and restroking/repainting them to your liking:

Attachment:
WarningFromSVG.png
WarningFromSVG.png [ 1.99 KiB | Viewed 2806 times ]

_________________
Image


Top
 Post subject: Re: Remove red from border
PostPosted: Fri May 31, 2013 1:37 pm  (#4) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14206
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
Ofnuts solution I think, is your best bet.
Also redo a new sign from scratch using paths is another good solution that would give you the exact results your looking for.

Ek22's suggestion is a good one as well.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group