How-to: A tutorial on using GIMP to create Glossy Shiny Buttons
Ok, this is a quick'n'easy tutorial on creating two types of shiny button using the unfortunately named but free Photoshop clone "the GIMP". If you're looking to do any web design work on the cheap, this is the best free tool for graphics work, but is a little complex when you first start.
I've found tutorials on this for Photoshop, but because GIMP doesn't have exactly the same features, its not always obvious what the equivalent step is. So this is a real no-brainer, follow the steps approach. For this tutorial, I'm using GIMP 2.
The aim is to end up with buttons that look like these:
How very Web2.0. And if the steps are too complicated, or you want further info, or better still you ACTUALLY USE THEM - let me know by leaving a comment!
Style 1
This was my first stab, and it's ideally suited towards the sort of widgets/site-branding you see on the sidebars of blogs.
Step 1: create a 200x100 image, and use the 'advanced options' to set the 'fill with' to Transparency. This is so you can use it on any coloured background.
Step 2: select All (ctrl-A), and the make a rounded rectangle (menu 'select->rounded rectangle), selecting a radius of 30%.
Step 3: select two colours for the fill; i'm going to use a brown (#525a38) and a lighter brown (#8e9c61).
Step 4: do a gradient fill, shape 'linear', starting with the dark brown at bottom, and light at the top.
Step 5: create a new layer, transparent.
Step 6: select the new layer, and shrink the rounded rectangle section (menu 'select->shrink') by 5 pixels
Step 7: fill the new selection with white.
Step 8: add a layer mask to this (now-white) layer. do this by selecting the layer, and right-click, then 'add layer mask'. make it full transparent
Step 9: select the layer mask. select fg/bg colours as black/white, then do a linear gradient fill with white at the top of the selection, and black down only a few pixels (experiment with this, I used 10 pixels). This should leave the highlight glint on the button
Step 10: add the full web2.0 treatment with a drop-shadow. use step2 for getting the selection, select the bottom layer, then menu 'scriptfu->shadow->drop shadow'. colour black, offset x and y = 4, blur radius = 15. must allow resizing.
Step 11: add some text onto the button, and place it on your site now!
Style 2
This was an improved effort, giving a sort of bevel effect that makes it better for glossy buttons etc.
Step 1: create a 100x100 image, and use the 'advanced options' to set the 'fill with' to Transparency. This is so you can use it on any coloured background.
Step 2: select All (ctrl-A), and the make a rounded rectangle (menu 'select->rounded rectangle), selecting a radius of 30%.
Step 3: select two complementary colours for the fill; so I'm going to use primary green (00ff00) and white.
Step 4: do a gradient fill, shape 'linear', starting with the green at around 25% in from the bottom and the white at the top.
Step 5: select a curved portion of the bottom using the ellipse selection tool. make it bigger than the image to just get part of the elipse in. The selection will be square at the bottom - not rounded like our rectangle edges from earlier: don't worry, we'll fix this later!
Step 6: invert the selection (ctrl-I), then add a new layer - transparent again. keeping the selection active, select the new layer.
Step 7: fill the selection with white, and now lower the opacity of the new layer to 30. the button should now have that glossy look!
Step 8: lets remove the corners; repeat step2 on the new layer to get a rounded button selection. invert it (which is effectively selecting the 4 corners) and cut it (ctrl-x). we should now have a fully rounded button again!
Step 9: now lets add a bevel. repeat step2 to get the rounded rectangle again, create a new transparent layer, select and fill this with black (don't worry, our real button is still there on the layers underneath).
Step 10. menu 'scriptfu->selection->fade outline'. border size=10, fade from=0, fade to=100. click ok. lower the layer's opacity down to around 20, and you get a little bevel effect making it look more like a real button.
Step 11. finally, for web2.0 completists, add a drop shadow for depth. Again, use step2 for getting the selection, select the bottom layer, then menu 'scriptfu->shadow->drop shadow'. colour black, offset x and y = 4, blur radius = 15. must allow resizing.
Step 12. and that's it. hoorah! use it everywhere.
Conclusion
Well, there you have it; two glossy button styles created using GIMP. Not much more to add, although if you use them in your sites design, drop me a link...
109 comments:
Would you publish a howto on making those web2.0 stars?
No worries - point me to an example, and i'll create a 'how-to' here.
I had version 2.0 of Gimp and it doesn't have the rounded corners selection capability. Upgrading to 2.2 took care of the problem.
P.S Nice tutorial.
many thanks; i'm a bit of a gimp noob, but if there's anything you want covered in a how-to, let me know and i'll come up with a step-by-step guide.
i'm hoping to cover: making widgets for you blog sidebar, creating a simple site with login/user details etc, using mootools for neat effects, and many more over the next few weeks...
I was having the darnedest time with step 9, until I figured out Repeat was set to Triangular wave and it should be none. I using Gimp 2.2.13.
What do you have Opacity and Offset set at? Even now, when I drag top to bottom 10 pixels, the white is very intense and doesn't appear as subtle as yours.
I'm trying to create the tabs from the book Bulletproof Web Design with Gimp, although this tutorial didn't address those specifically, it certainly was very helpful. My only suggestion would be, don't forget to mention the tool options that are set for us still getting the hang of it :-)
Thank You.
thanks for the feedback: i'll assume you mean step 9 for style 1. I'm using gimp 2.2.3 - i'll check its ok with 2.2.13
I don't know what the "Repeat set to Triangluar Wave" refers to. In step 9, make sure you're selecting the layer mask and then do the linear gradient fill only a few pixels down on the layer mask from the top of the selection - that way it fades out real quick...I don't think i messed with the Opacity/Offset in that example.
I appreciate your comments, if there's a step that's wrong it'd be good to know - I'm not a Gimp Pro, so some of the features are overwhelming to me too!
excellent. this is just the sort of thing i was looking for. thanks for sharing.
That was beautiful! Thanks!
Great article! Thanks.
Nice Blog!
Thanks for interesting article.
Thank You! Very interesting article. Do you can write anything else about it?
Great Article! Thank You!
Thanks to author! I like articles like this, very interesting.
nice blog!
nice blog!Nice information
:-) ochen\' zaebatyj blog!
Very interesting site. Blog is very good. I am happy that I think the same!
soglasen s vami ochen\' zaebatyj blog!
Keep up the great work. It very impressive. Enjoyed the visit!
Nice! Nice site! Good resources here. I will bookmark!
Excellent website. Good work. Very useful. I will bookmark!
I see first time your site guys. I like you :)
Disaster is likely to wreak havoc in the life of an individual as soon as he becomes victim to erectile dysfunction and the most significant dreadful consequence of erectile dysfunction is that the afflicted man becomes incapable of facilitating erections required for sexual intercourse. The sexual vacuum resulted from erectile dysfunction prompts the sufferer to opt for anti-impotency pills, most especially the viagra medication that was approved by FDA (Food and Drugs Administration) as a clinically effective drug to cure erectile dysfunction in men. Viagra is meant to be administered by patients only after availing of viagra prescription from the doctor. The prescription for Viagra provided by the doctor spells out that the patient suffering from erectile dysfunction seriously need Viagra to treat his disorder and further authorizes the patient to avail of Viagra from the pharmacist.
Thanks for the tutorial! I used it to create my ajax button creator, Buttonr.
Indulge yourself and find partners for hot Sexual Encounters and Adult Dating at Adult friend finder free dating site!
If you are looking for a one night stand or a casual encounter, then the Adult Swingers Club is where the game is played.
If you practice a different range of sexual and sensual activities then adult personals has the Club for you.
Download over 2000 adult dvd movies, available formats: windows, mpeg, psp and ipod!
Shop for Adult Toys, DVDs and Lingerie and other Erotic Adult Products at adult sex toys shop and adult toys store.
YyxPEf You have a talant! Write more!
GjJqX6 Good job!
kGed4x The best blog you have!
6GoYpl Wonderful blog.
Wonderful blog.
Magnific!
Hello all!
Wonderful blog.
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
Thanks to author.
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
Wonderful blog.
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
bGcEd0 write more, thanks.
Please write anything else!
Nice Article.
Good job!
Wonderful blog.
Please write anything else!
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
Wonderful blog.
Magnific!
Good job!
Please write anything else!
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
Nice Article.
Wonderful blog.
Beam me aboard, Scotty..... Sure. Will a 2x10 do?
Please write anything else!
Oops. My brain just hit a bad sector.
Build a watch in 179 easy steps - by C. Forsberg.
Beam me aboard, Scotty..... Sure. Will a 2x10 do?
Energizer Bunny Arrested! Charged with battery.
Wonderful blog.
Give me ambiguity or give me something else.
Good job!
Build a watch in 179 easy steps - by C. Forsberg.
Suicidal twin kills sister by mistake!
Save the whales, collect the whole set
Give me ambiguity or give me something else.
Good job!
Clap on! , Clap off! clap@#&$NO CARRIER
A lot of people mistake a short memory for a clear conscience.
Oops. My brain just hit a bad sector.
Thanks to author.
Build a watch in 179 easy steps - by C. Forsberg.
All generalizations are false, including this one.
When there's a will, I want to be in it.
Energizer Bunny Arrested! Charged with battery.
Save the whales, collect the whole set
Build a watch in 179 easy steps - by C. Forsberg.
If ignorance is bliss, you must be orgasmic.
Calvin, we will not have an anatomically correct snowman!
When there's a will, I want to be in it.
Energizer Bunny Arrested! Charged with battery.
Oops. My brain just hit a bad sector.
Friends help you move. Real friends help you move bodies.
Build a watch in 179 easy steps - by C. Forsberg.
What is a free gift ? Aren't all gifts free?
Nice Article.
Magnific!
I don't suffer from insanity. I enjoy every minute of it.
Save the whales, collect the whole set
actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.
Friends help you move. Real friends help you move bodies.
Change is inevitable, except from a vending machine.
Lottery: A tax on people who are bad at math.
Save the whales, collect the whole set
What is a free gift ? Aren't all gifts free?
What is a free gift ? Aren't all gifts free?
C++ should have been called B
Wonderful blog.
A flashlight is a case for holding dead batteries.
Wonderful blog.
Build a watch in 179 easy steps - by C. Forsberg.
Change is inevitable, except from a vending machine.
Oops. My brain just hit a bad sector.
When there's a will, I want to be in it.
What is a free gift ? Aren't all gifts free?
Hello all!
Thank you so much for this great tutorial!
Payday loan
Thanks for very interesting article. btw. I really enjoyed reading all of your postsabout Klamotten . It's interesting to read ideas about your stuff and Kleidung , and observations from someone else's point of view… makes you think more. Read more about Pattern and Crochet
Visit my Bodybuilding Muskelaufbau Shop . Best regards! Schwule - Gays
Post a Comment