Source for file MonoBMP_sample.php
Documentation is available at MonoBMP_sample.php
require_once 'Image/MonoBMP.php';
$a = new Image_MonoBMP();
$a->createFromFile('MonoBMP_sample.bmp');
$a->drawFigletText('(c) BOLK', 'xbriteb.flf', '1:1', IMAGE_XBM_BLACK, IMAGE_XBM_WHITE, 25, 45);
$a->drawLine(20, 60, 80, 60, IMAGE_XBM_BLACK);
$a->drawRectangle(0, 0, 99, 99, IMAGE_XBM_BLACK);
header("Content-type: image/bitmap");
Documentation generated on Mon, 11 Mar 2019 14:12:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|