Skip to main content

Create Sample Barcode using Photoshop !!


How to Create Barcode using Adobe Photoshop


In this post, I'm gonna publish a funny tutorial of Adobe Photoshop. Now I will show you how to create a sample barcode (fake) by Photoshop. It will not be a real one but look like an original barcode. And maybe all of you know that original barcodes are machine readable. A real barcode includes product information like country of origin, manufacture and expiry date etc. 


I'm using Adobe Photoshop CS5 for this tutorial. But so far I know, any version of Adobe Photoshop will produce the same result for you. Okay let's start - 

  • Run Adobe Photoshop and open a new file with following settings
  • Choose Width 250 px, Height 100 px, Resolution 72, RGB Color Mode with 32 bit, White Background and hit OK. 
  • Now you will get a white rectangle in the screen. 
  • Go to the Filter Menu > Noise > Add Noise . . . > Amount 400 > Distribution - Gaussian > Select Monochromatic > Hit OK. 
  • You white rectangle will take the following look. 

Noise Filter in Photoshop



  • Again go to the Filter Menu > Blur > Motion Blur . . . > Angle - 90 degree > Distance - 999 pixels > Hit OK. 
Motion Blur after Noise Filter
  • Look, I've just cut the bottom part of the image with Rentangular Marquee Tool. Choose Rectangular Marquee Tool from the toolbar. Now click and drag as my image shows above leaving a small portion from left and right part. Hit on the delete button and choose white color. 
  • Press T or simply open the Type Tool > Choose Arial font with 10/12 pt size > Type some digits randomly as below.

Sample Barcode by Photoshop


We're almost done. But you can't save it! Because at the very beginning, you chose 32 bit color mode. But if you want to save the image as JPG or PNG, you must select 8 bit color. Then why I suggested to use 32 bit? Because 32 bit will give you a better look which 8 bit or 16 bit can't. 

If you choose 8 bit or 16 bit color, there will be no problem. You can directly save it as JPG or PNG. But the quality will fall somewhat. 


Then How to Save? 

  • Look at the layer panel. Possible there are two layers - Text and Background. Press Shift key > select both the layers > Click right mouse button > hit on Convert to Smart Object.
  • Now press Ctrl + A > Ctrl + C > Ctrl + N > In the Color Mode - Choose RGB and 8 bit > Hit OK.
  • Press Ctrl + S > Select either JPG or PNG > Hit OK.

I prefer PNG due to its brilliant quality. 


Note: If you avoid using 32 bit color mode while opening the new document you will not face any problem while saving it. Simply use 8 bit when you create the document at the beginning. Then you can easily save it just after completing the barcode. But in that case, the bars will not be so clear. 


Do you like this tutorial? :) 



Stay with Marks PC Solution to get more interesting IT topics!



Comments

  1. This is really a nice and informative, containing all information and also has a great impact on the new technology. Thanks for sharing it,
    adobe photoshop courses

    ReplyDelete

Post a Comment

Popular posts from this blog

GTA San Andreas Cheat Code (PDF)

After Vice City, San Andreas is the most popular game released by Grand Theft Auto (GTA). Usually GTA releases role playing game. San Andreas is such a game where you can act like a person. You can do everything. You have to take part in missions and complete them.  To make your missions easier, there are lots of cheat codes. If you can properly apply these codes, the tough parts of the game will be easier. Cheat codes are somewhat like keyboard shortcuts of computer programs.  I've shared 63 cheat codes below. There were more cheat codes in my collection, but I've omitted the less important cheats. Effects or result of the cheats are on the left side, and the codes are on the right side.  You can copy the following codes in your PC. And for your convenience, I've also uploaded a PDF file of these codes. You will find the download link at the bottom.  Effect Cheat Code Adrenaline Mode MUNASEF All Cars Explode ALL...

Joining Texts from Multiple Cells in Excel

  Programs like MS Excel is full of functions. There are many useful functions that we don't use or we don't know about. One of them is CONCATENATE. It means joining or linking. With this function you can join texts from multiple cells. Let's see how . . . Suppose you're working in an Excel Worksheet where you need to combine texts from different cells. I'm gonna show you an example. Let's consider the image below -    What do you see ? I've imputed First Name and Last Name. In Full Name column I've used the formula i.e. CONCATENATE. And in the last column I've added Mr. with the full name.    So how do you use this formula ? Here it is -  =CONCATENATE(A2," ",B2) Observe it carefully. You can add more than 02 cells with this functions. Here I've just used 02 cells. You may think what is this " " for ? You may notice that there is a space between the two i.e. " & ".  If you don't use " " then you...

Running Total/ Cumulative Sum in Excel

  Hey Guys! You should have noticed that I'm writing on MS Excel for last few days! To be honest I'm trying to learn some simple and useful tricks of Excel. And I'm also trying to share my knowledge with you. In this post I've come with such a little trick which maybe very useful if you face such situation. Let's begin . . .    Running Total/ Cumulative Sum It means the summation of numbers in a list and it will be updated each time when a number is added or changes. Look at the image below -    Look at the image. There are two columns with numbers. The first one is simply the number list. But the 2nd one is the summation of the list. Each time a new number is added to the first column the second one shows the summation. How to do this?  It's not a magic. Very simple sum formula is used to perform this task. But there is a little trick. You just need to lock the first cell and then every time it will update the running total list.  Here is my list. Sim...