Login   Register  
PHP Classes
elePHPant
Icontem

File: README

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Dmitry A. Kirilin  >  IMGOut  >  README  >  Download  
File: README
Role: Documentation
Content type: text/plain
Description: Read this first
Class: IMGOut
Perform several types of image manipulation
Author: By
Last change:
Date: 9 years ago
Size: 890 bytes
 

Contents

Class file image Download
IMGOut: a simple image processor class.
=======================================

Demo and testing
~~~~~~~~~~~~~~~~
This package misses a TTF font named "default.ttf".
To make an example work, copy any TTF font into directory, where IMGOut is
unpacked and enjoy.

Short description.
~~~~~~~~~~~~~~~~~~
This class is optimized for direct server variable usage, like $_GET and $_POST.
Path checking implemented.

Methods
~~~~~~~
Constructor: IMGOut($vars)
Expects $vars to be an associative array containing processing parameters (full
list can be seen at the top of class source file).
Also does text application, if specified.

Method: Text($vars)
Applies a text to loaded/generated image.
Expects the same as constructor, but it hasn't to be equal. ;)

Method: SetOutputType($type)
Sets the type for streaming in Output().

Method: Output()
Streams the image.

(C) m0Ray 2005
Russia, Samara