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 ALLCARSGOB

Rules for Bengali Typing in PDF (Bijoy Layout)

Bijoy is the most popular layout for Bangla typing. The layout was developed by Mostafa Jabbar. He is the pioneer of Bangla typing in computer. More than 90% people use his Bijoy layout for Bangla typing. Today, I'm gonna share a PDF file with you that contains the Bijoy Keyboard layout with English fonts! If your keyboard doesn't have bengali fonts then you can print this PDF file to know where the bengali fonts are located in your keyboard. Additionally this file contains all the necessary rules and tips which are essential for Bangla Typing.  Now there are many other software available for Bangla Typing Layout. Such as Avro Easy, Unicode, Unibijoy etc. And there rules are also somewhat different from Bijoy. And some of their layouts follow the same rules like Bijoy. Hopefully this PDF file will support most of the rules when a layout is similar to Bijoy Layout.  Click to enlarge the image Download the PDF file from the button below. Follow

Download Puzzle Flash Game - Save Them

Hey Flash Game Lovers! Today you're getting an amazing puzzle game - Save Them! It's a flash game and the download size is only 382 KB. In this game, you have to move 3 missionaries and 3 cannibals from one side to another through a boat. In any side, if the number of cannibals is more than the number of missionaries, then cannibals will eat the missionaries!  Download Save Them Download the game from the above link. It's a zipped file. Download size is only 382 KB! After downloading the game, you have to unzip it first. Then double click on the SaveThem to start the game.  How to Play? After starting the game, you will get the instruction. You have to make sure that in no side, the number of cannibals is not more than the number of missionaries. This is your only challenge. You have to take them from left side to the right side of the lake through a boat.  Press on a character to jump to the boat. Thus you can take any two of them a