PHP Classes

File: libs/Barcode/test.php

Recommend this page to a friend!
  Classes of william amed  >  Raptor 2  >  libs/Barcode/test.php  >  Download  
File: libs/Barcode/test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 3 years ago
Size: 526 bytes



Class file image Download
$colorfg = new BCGColor(0, 0, 0);
$colorbg = new BCGColor(255, 255, 255);
// Barcode Part
$code = new BCGcode39();

$code->setColor($colorfg, $colorbg);
// Drawing Part
$drawing = new BCGDrawing('', $colorbg);
header('Content-Type: image/png');

For more information send a message to info at phpclasses dot org.