Try Tuts+ Premium, Get Cash Back!
Quick Tip: Create a Barcode Sticker in Photoshop

Quick Tip: Create a Barcode Sticker in Photoshop

Tutorial Details
  • Program: Adobe Photoshop CS3+
  • Difficulty: Beginner
  • Estimated Completion Time: 10 - 15 Minutes
Download Source Files

Final Product What You'll Be Creating

In today’s quick tip tutorial you will learn how to create a barcode sticker and a paperboard background texture. Let’s get started!


Step 1

First, we will set up our brush preset for the barcode. Create a new document with a width of 1 px and a height of 100 px. Now pick the paint bucket tool and fill the document with black. Go to Edit > Define Brush Preset, choose a name for your brush and click OK.


Step 2

Create another new document, I chose 600 x 400 px for width and height. Select the brush tool and open the brush preset panel. Scroll down and select the brush preset you just created. Switch to the brush panel, make sure "Brush Tip Shape" is selected on the left-hand side and change the "Spacing" value to about 120 %. (Tip: By changing the spacing value you can determine how close the lines of the barcode will be together) Next, click on "Scattering" just below "Brush Tip Shape" and increase the count jitter value to 100%.


Step 3

Now make sure the foreground color is set to black, and paint from left to right while holding the shift key, which straightens your barcode line automatically. Select the text tool and add some random numbers below the barcode. Press Cmd + T and increase the vertical scale just a little bit.


Step 4

Switch the foreground color to white, pick the rounded rectangle tool with a radius of 4 px and draw a sticker-like shape around the barcode. Drag this shape layer behind the text and the barcode.


Step 5

Double-click on the shape layer and add the following layer styles (leave unmentioned parameters at defaults):

  • Drop Shadow: Opacity: 25%, Distance: 2px, Size: 3px;
  • Bevel and Emboss: settings see image;
  • Gradient Overlay: settings see image;
  • Stroke: Size: 1px, Color: #d6d6d6;

Step 6

Now we are going to create the paperboard texture. Create a new layer, drag it behind the others, and fill it with black. Go to Filter > Noise > Add Noise with an amount of about 65% and check "Monocromatic". Then, make sure that the foreground color is set to white and the background color to black, go to Filter > Sketch > Torn Edges and apply it with the settings as seen on the image below.

Press Cmd + L to access the levels adjustments and drag the left handle of the "Output Levels" to about 115. Press Cmd + U, make sure "Colorize" is checked and apply the following values: Hue: +40, Saturation: +49, Lightness: -39. Then, apply the "Add Noise" filter again with an amount of about 7%. Go to Blur > Gaussian Blur and apply it with a radius of 0.3 px.


Step 7

Create another new layer filled with black, change the foreground and background color to white and black again, and apply the "Add Noise" filter with an amount of 120%, then again the "Torn Edges" filter with the following settings: Image Balance: 1, Smoothness: 11, Contrast: 19. Set the layer’s blending mode to "Screen" and lower the opacity to about 50%. So far, you should have something like the image below.


Step 8

To add a little bit more depth, create another new layer, fill it with white and apply the "Add noise" filter with an amount of about 120%. Go to Filter > Sketch > Bas Relief and apply it with the settings as seen on the image. Set the blending mode to "Overlay" and lower the opacity to 25%.


Conclusion

Congratulations, you are done! I added a simple vignette effect to my final result as you can see here.

Here are some additional examples that I created using this technique.

Tags: Tips
  • Matthew

    Great little Quick Tip – Good Job!

  • http://ds.laroouse.com esranull

    very nice tuts thanks a lot

  • Eric

    Easy tutorial but nice, good job!

  • http://SARAH.HELPTOSERVE.INFO Sarah William

    Great tut..really interesting….thanks…

  • http://aevion.net AEVION

    I thought you were going to tell how to make real barcodes using photoshop, with some sort of script or something… but couldn’t everyone have figured this (how to make gibberish bar codes) out on their own?

    • http://www.jacoblee.co.uk Jacob Lee

      This isn’t a website to prove who knows most about how to use Photoshop. It’s a tutorial site for people of all different levels.

      Great Quick Tip in my opinion. Keep them coming!

    • http://- John

      Yeah, you are always saying things like ”this is rubbish” and ”I guess I have to be the first one to say that this looks very amateurish to say the least’. If you know everything so well yourself, i’dd like to see a good quality tut of your own. This is a community in which people share their ideas and their workflow. Try not always to give negative comments, it’s okay if you’re a professional but new people need to start somewhere and tutsplus is one of the best sites! Thanks in advance.

      • http://aevion.net AEVION

        I never said it was a bad tut, just an easy one. And I honestly thought that it was going to create real bar codes with a script until I read it through. That would be a really cool tut.

    • http://www.psd-dude.com PsdDude

      I think that AEVION is advanced and it is a little disappointed when he sees/reads beginners tutorials; i must say that i enter quickly on psdtuts to see what is new and interesting and when i see something easy or something that i don’t like i am a little disappointed :)

      • Leo

        I have the same thought with aevion
        Sorry, I think I Alex you skipped the part of making the “barcode”
        Are you assume the beginner to make the bar code by themselves?
        vice versa, i don’t see the point for the advanced user to read this.

        By the way, I thought a easy process for making the bar code
        1. put some color on the canvas
        2. using the filter>render>fiber
        3. make it to higher contrast
        4. use selection tool to pick a rectangular selection area with 1 px height
        5. cut it out and drag it with reasonable height
        6. image>adjustment>threshold
        7. type the numbers below the barcodes

        I guess it makes a random bar code and without the pain :)

  • http://www.evilonegraphics.com Trizicklo

    Great job, Alex! I think what I like the most about the whole tutorial is the paper texture.

  • http://www.code-pal.com Sumeet Chawla

    Awesome tutorial… Thanks for the share ;) Even I liked the paper texture a lot..

  • Luke Eaton

    In my current job, I design packaging for major retailers. If you create a fake barcode and place it in your file, make sure you put FPO over the barcode or the printer will print your fake barcode, trust me, I found out the hard way!!! A great free resource for a barcode generator is:http: //www.barcoding.com/upc/ There are also nice plugins for Illustrator.

    • http://desaindigital.com/en Jeprie

      I don’t understand what you’re saying. What’s FPO? Printer will print the fake barcode?
      I’d like to hear more on that. Thanks.

      • Luke Eaton

        Jeprie,

        FPO = For Placement Only. You position and image of a barcode with the UPC (the numbers) under the image. Then place the letters FPO over the barcode. The printer will replace your “fake” barcode with a barcode they generate with the UPC that you gave.

        I once sent a package design to be printed in China. Even though I had FPO over the barcode, they printed the “fake” barcode instead of generating the correct one. We did not realize it until we started getting calls from stores all over the nation saying the barcode would not scan! What a mess!!!

        I now double check the barcode on the proofs every time!!!

      • http://desaindigital.com/en Jeprie

        I got it. That’s a great tip.
        Thank you for sharing.

    • http://www.markmayers.co.uk Mark Mayers

      Good call Luke,

      I’ve worked in packaging design and I always let the printer strip in the barcode at artwork stage. I generally leave a white block for the printer to add this (then if things go wrong – the balls in your court). For client approval I add a watermarked barcode at design stage.

      Another fact is that the barcode scanner at the checkout actually reads the white spaces – not the black lines, and if your print process is say gravure for instance, the ink will spread, so the printer will allow for this when generating the barcode. Saying that I don’t think this tutorial was aimed at artwork for print, but it’s something to bear in mind.

    • http://noir-badger.deviantart.com spiderm0nkey

      Lol! That would’ve sucked! Good tip though ;)

    • Jaybo

      Haha, I’m a cashier and it is so annoying when bar codes don’t scan! Then you have to type it in manually. I didn’t know the scanner read the white spaces instead of the black stripes. Interesting.

    • brrrooop

      dude -
      why are you even here if you have a job ?
      i mean if you do have a design related job it should pay at least 35 k a year – how do you have time to write comments on a psd tut site ? out of interest ?

      anyway alex amazing tut you done good – cos it works – it does the job

      THANK you

  • http://movies.ewebtutorial.com/ mohit

    nice collection. I am a visiting first time this site and i think its awesome..
    visit this site movies.ewebtutorial.com

  • http://www.teakcreative.com kyle

    Really?! This is pretty darn cartoony. Really? This is the best you could come up with? It TOTALLY looks fake. Take a picture of a real bar code on a box and compare.

  • Firsh

    The way you created a the background is especially nice!

  • http://www.furtuna.ro ADrian

    You guys (commentators) went to far with this tut. This quick tip just shows beginner type photoshop users how to make a fake barcode to use on some site, not packaging design.

    Nice Quick Tip.

  • http://jonbonjovie.com Jon Bon Jovie

    Guys, I have to agree with the criticism that this is getting. I mean come on, all it is is random black stripes on a white background with a simple bevel effect. Jeez.

    If someone needs a tutorial to make that then the really shouldn’t be using Photoshop :\

  • Dito

    Can y’all just lighten up a little? Is this a tutorial that shows you how to make a photorealistic rendering of the New York skyline using nothing but the Brush tool? No. It’s a simple barcode sticker.

    Is it the most realistic barcode evar? No. Does it look good. Sure. Does it teach beginners how to use Photoshop? Yep.

    And isn’t that the point of a tutorial – to teach something? If you already know all the techniques shown here, move along to the next entry. The rest of us will keep reading.

    • http://www.photoshop-plus.co.uk Photoshop Plus

      im with DITO!…..

  • vibe

    nice tut. i enjoyed it very much, thanks a lot!

  • http://mokshasolutions.com Moksha

    thanks its simple and great one

  • calista

    It is nice!!!!!!

  • http://www.ucarmetin.com Metin

    Nice tutorial!
    I liked the way how the author created the background rather than barcode itself.

  • Almir

    When i create the first documen of 1×100 px, i can’t define brush preset..
    Edit>and Define Brush Preset doesn’t work!
    someone help please :)

  • Anish

    very fantastik job