PHP Classes

BarcodeImages: Generates barcode images using TTF fonts

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 863 All time: 4,056 This week: 171Up
Version License PHP version Categories
barcodeimages 1.0GNU Lesser Genera...5.0PHP 5, Graphics


This class can be used to generate barcode images using a Barcode TTF font.

It takes a string with a code and generates a barcode image that represents the characters in the string following the type of barcode font standard.

The generated image can be saved to a file or displayed as the current script output in GIF, JPEG or PNG format.

Picture of Héctor Hugo Huergo
Name: Héctor Hugo Huergo <contact>
Classes: 1 package by
Country: Argentina Argentina
Age: 49
All time rank: 255731 in Argentina Argentina
Week rank: 346 Up5 in Argentina Argentina Up


Class BarcodeImages 20091114 Hi, happy to write to you. BarcodeImages requires at least one "Barcode TTF Font" to work. Since NOT allow to upload Binary Files into the class files, then I published a LINK in BarcodeImages Class page [] to download the package from my site. Please download the file from [] Then extract the folder fonts into the BarcodeImages class folder, ie: /barcodeimages/fonts or /www/barcodeimages/fonts Please read the lines 38 and 41 of the file barcode.class.php. As you can see, the class finds the folder ./fonts (and the TTF file into this) from the folder that includes himself. If you have any trouble, please write me: h4 at e-ssence dot net Thanks. H4

  • barcode.test.png
  Files folder image Files  
File Role Description
Files folder imagedocs (5 files, 2 directories)
HTML file barcode.test.html Data HTML Example
Plain text file barcode.test.php Example PHP Unit Test
Plain text file barcode.class.php Class Main PHP Class File
Plain text file README.txt Doc. Readme File

  Files folder image Files  /  docs  
File Role Description
Files folder imagebarcode (2 files)
Files folder imagemedia (2 files)
  HTML file classtrees_barcode.html Doc. docs
  HTML file elementindex_barcode.html Doc. docs
  Plain text file index.html Doc. Index for Documentation
  HTML file li_barcode.html Doc. docs
  HTML file packages.html Doc. docs

  Files folder image Files  /  docs  /  barcode  
File Role Description
  HTML file barcode.html Doc. docs
  HTML file _barcode.class.php.html Doc. docs

  Files folder image Files  /  docs  /  media  
File Role Description
  HTML file banner.css Doc. docs
  HTML file stylesheet.css Doc. docs

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,056
This week:171Up
User Ratings User Comments (1)
 All time
it´s no work.
14 years ago (lailton fernando mariano)