Image_MonoBMP
[ class tree: Image_MonoBMP ] [ index: Image_MonoBMP ] [ all elements ]

Source for file MonoBMP_sample.php

Documentation is available at MonoBMP_sample.php

  1. <?
  2.     require_once 'Image/MonoBMP.php';
  3.  
  4.     $a = new Image_MonoBMP();
  5.     $a->createFromFile('MonoBMP_sample.bmp');
  6.  
  7.     $a->drawFigletText('(c) BOLK', 'xbriteb.flf', '1:1', IMAGE_XBM_BLACK, IMAGE_XBM_WHITE, 25, 45);
  8.     $a->drawLine(20, 60, 80, 60, IMAGE_XBM_BLACK);
  9.  
  10.     $a->drawRectangle(0, 0, 99, 99, IMAGE_XBM_BLACK);
  11.  
  12.     header("Content-type: image/bitmap");
  13.     $a->output();
  14.  
  15. ?>

Documentation generated on Mon, 11 Mar 2019 14:12:47 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.