Post Reply 

Outlining a Navigation Bar

Apr 13, 2011, 19:18
Post: #1
Outlining a Navigation Bar
Hi,

I am a beginner to GIMP and so far really like the software. Attached is a .png file of a navigation bar for a future website. I know how to use the "Bucket" to remove the blue background so it turns to white. The problem is that I can't figure out how to change the remaining blue that outlines the image to a light grey. Any ideas? Is it considered an outline or border?

Thanks for your help!

KAL


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Apr 13, 2011, 20:28
Post: #2
RE: Outlining a Navigation Bar
Because you shoulodn't be using the bucket-fill to remove the blue. The proper technique is:

Select the blue with the magic wand (click once, and since that won't select all the blue, shift-click in the non-selected areas.

Grow the selection by 1 pixels (it should include the border of the white)
Do Colors>Color to Alpha, enter the color selector, and use the color picker to pick the blue.

This will make all the blue transparent. If you see some blue left in the corner the bar, redo after growing the selection by 2 pixels.

You can then add a background layer of any color (or leave it transparent so that it gets the color of your page). The cut is however not perfect, as some of the blue doesn't become completely transparent, so you have a very faint gray outline around the navbar if you put it over a light background. This may be good enough for your purpose. You can also add a more visible drop shadow:

In original layer: Layer>transparency>Alpha to selection, this will create a selection with the shape of your navbar. Feather it by 4-5 pixels.

Add transparent layer below

Bucket fill selection with black

With the Move tool (check the "move active layer"), drag the shadow from under the bar, so that it shows 4-5 pixels below and on the right (you may want to extend that layer and fill the gap at the top right)

Using the layer transparency slider, you can adjust the hardness of the shadow.

If you already have a color in mind for your page background, you can add a bottom layer of the right color to have a better evaluation of the effect, but make it invisible or remove it before saving as PNG.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Apr 14, 2011, 19:45
Post: #3
RE: Outlining a Navigation Bar
Ultimately, the navigation bar will be on a white background. It will be outlined in grey. is is possible to remove the blue but keep a grey border around the navigation bar?
Find all posts by this user
Quote this message in a reply
Apr 15, 2011, 06:24
Post: #4
RE: Outlining a Navigation Bar
This is what you are supposed to get if you follow the instructions above... o you get something diffferent?

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  I want to make a logo/bar younes-ea 9 676 Dec 23, 2013 09:43
Last Post: younes-ea
  Opacity bar not working jocelynrenee 10 951 Jul 7, 2013 16:30
Last Post: ofnuts
  Urgent! Layer box under Start Bar! Starsa 1 445 Sep 8, 2012 23:00
Last Post: ofnuts

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS