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...

How to Change IP Address on Windows 10 (Easy Way)

    In fact this is not a very difficult task. But in case of emergency you may not find the right option and this happened in my office few days ago! I solved the problem myself and decided to write a note for you at my site . . .   Changing IP Address on Windows 10 Simply move your mouse pointer at the bottom right corner and make a click on network icon > choose Open Network and Internet settings. Follow the image below -    After clicking on this option you will get the following dialogue box. Here you should notice Ethernet properties. Click on it.   Now you will get another screen as below. Here you will get several options. But our concern is IP settings and Properties . If wanna view your IP details then look at the Properties. If you need to change it then hit on the Edit button.    After clicking on the Edit button you will have two options i.e. Automatic (DHCP) & Manual.    In order the change the IP you should choose ...

Office 2016 Activator (KMSPico 10.1.5)

It's been couple of months after the release of final version of Microsoft Office 2016. And maybe you're tired of finding for a working activator for this version. Today I'm gonna share Office 2016 activator with you - no more waiting!! About the Activator   Name: KMSPico 10.1.5 File Size: 3 MB (Approx) File Type: Zipped Folder 100% Neat & Clean - No virus! Activating Capacity . . . KMSPico 10.1.5 is successfully leading the KMS world for last few months. If everything is okay, success rate is 100%. This tool has been tested and verified by Marks PC Solution. With this tool, you can activate -  Office 2016, 2013 & 2010 Windows 10, 8.1 & 8 Hopefully this version will work for both 32 bit & 64 bit versions of Windows. Installing Office 2016 Collect/ Download Office 2016 Professional Plus from Microsoft or somewhere else. Install it as trial version without any key. Use the follow...