PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2009-11-14 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 837 All time: 3,975 This week: 1,109Up
Version License PHP version Categories
barcodeimages 1.0GNU Lesser Genera...5.0PHP 5, Graphics
Description Author

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

Details
Class BarcodeImages
20091114

Hi, happy to write to you.

BarcodeImages requires at least one "Barcode TTF Font" to work.
Since www.phpclasses.org NOT allow to upload Binary Files into the class files,
then I published a LINK in BarcodeImages Class page 

[http://www.phpclasses.org/browse/package/5789.html]

to download the package from my site.

Please download the file from 
[http://e-ssence.net/hectorhuergo/wp-content/uploads/2009/11/barcodefonts.zip]

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
Screenshots  
  • 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  
 0%
Total:837
This week:0
All time:3,975
This week:1,109Up
User Comments (1)
it´s no work.
6 years ago (lailton fernando mariano)
35%StarStar