Using Gimp to create a simple media player skin

Making the Buttons

The last step in this Gimp mini-project is to create the control buttons on the button panel. Press Shift+Ctrl+A to lose the current selection. Now create a new transparent layer called <button-base> at the top of the layer stack. Click on the Tools menu and choose Selection Tools | Ellipse Select. Use the Ellipse Select tool to create a circle of 72x72 pixels. Fill the circle with the B&W gradient, as shown in Figure 8C.

Create another transparent layer called <button-3d> and do Select |Shrink (3); then fill the button with a B&W gradient, as shown in Figure 9A. Set the layer mode to Pin-light with 75 as layer opacity.

Figure 9: Finishing the buttons.

The buttons are almost finished, but each still needs an icon describing the button's purpose. I'll create these simple icons by using the pixel brush to draw them on a transparent layer. Working with pixel-level graphics requires the use of a grid for a visual aid.

Create a new transparent layer called <prev-icon> above the <button-3d> layer, as shown in Figure 9B. To get the grid ready, choose View |Show Grid then View |Snap to Grid. Now go to Image |Configure grid to bring up the grid setting dialog box. Configure the grid spacing at 4x4 pixels and press OK. At 100 percent zoom, your image should appear, as in Figure 10A.

Figure 10: Creating the Previous icon for the button.

Zoom to 300 percent by choosing View |Zoom | 300%. Press the middle mouse button and drag to pan the image and bring the first button in the zoomed up view. Press N for the Pencil tool. Select Circle brush (4x4) from the Brushes tab, as shown in Figure 10B, and change the current color to 7e7e7e.

Now place the cursor over the first button, click, and drag (keep the Ctrl key pressed) for a straight line, using the bar as a reference (see Figure 10C). The height of the icon is 32 pixels and the diagonal axis for a reverse play icon is about 22 pixels. Fill the middle part with the pencil. Also, draw the line at the left as 32 pixels in height. Now put the <prev-icon> layer mode to Overlay to make it look like the icon is embedded in the button, as shown in Figure 10C.

Duplication in Gimp is easy: Just run Layers | Crop to Content in each of the three buttons layers (<button-base>, <button-3d>, and <prev-icon>). Then choose Layer | New Layer Group and move these layers inside. Press Shift+Ctrl+D to duplicate this button group and move it to the right by about 80 pixels. Repeat it four times, as shown in Figure 11B.

Figure 11: The Previous button finished with the icon drawn and additional buttons duplicated.

Delete the old icon layer and create a new icon layer in each button group; then draw new icons for the other buttons, as shown in Figure 12A.

Figure 12: The final image of the media player skin.

The media player skin looks almost complete, but the LCD panel appears empty. If this were a real multimedia player skin, the LCD panel would receive a value from the program and display the title of the song that is currently playing. For this simple example, I'll finish by inserting some song text in an LCD-style font. Use Overlay for the LCD item details at about 75 to 50 percent opacity of the layers (Figure 12B).

Conclusion

This workshop introduced you to some of the tools graphic artists use to create visual elements for desktop software. Of course, creating the image is only the beginning. In a real-world desktop tool, the graphic elements then must be incorporated into the application or installed as a skin or theme through the user interface. Several media players provide the option of changing the skin to give the player a different look – and even offer tools for inventive users to create their own custom skins. For instance, the VLC media player provides a skin editor tool [3] that allows the user to import graphic files and save them in the .vlt file format used for the skins in the VLC skin gallery.

Gimp is a powerful tool. Experiment and be creative. I hope exploring the techniques described in this workshop will give you some ideas that you can use in your own Gimp graphic creations.

The Author

Gaurav Nawani enjoys designing game art in all formats – be it 3D, paintings, or vectors. He is a gamer by choice, a motorbiker, a writer (https://gauravnawani.home.blog) and cofounder of Ironcode Gaming.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Custom Text in GIMP

    GIMP offers plenty of options for creating custom text effects. We'll show you how to sweeten your text with bold outlines, tasty color, 3D effects, curves, and more.

  • Perl: Sharpen Images

    How do you sharpen a digital image? A short introduction to the principles and a Perl plugin for GIMP help amateur digital photographers polish their snapshots in a professional way.

  • Tutorial – Krita

    Not many people are aware that Krita, the popular open source painting program, is also great for editing photos.

  • Web Design with GIMP

    Good homepage design is a question of the layout. Sometimes the best option is to use a graphics program to design the page, then translate the result into HTML code. The versatile image manipulation program GIMP can help.

  • Pinta Image Processor

    Pinta is a simple, easy-to-learn image processor targeted at occasional users and beginners; more experienced users will miss a variety of features.

comments powered by Disqus