Image_Text::display()

Image_Text::display() -- Display the image (send it to the browser).

Synopsis

require_once 'ImageText.php';

bool Image_Text::display ([bool $save = FALSE [, bool $free = FALSE]])

Beschreibung

This will output the image to the users browser. You can use the standard IMAGETYPE_* constants to determine which image type will be generated. Optionally you can save your image to a destination you set in the options.

Parameter

boolean $save

Save or not the image on printout.

boolean $free

Free the image on exit.

Rückgabewert

returns True on success, otherwise PEAR::Error.

Fehler-Meldungen

throws no exceptions thrown

Siehe auch

see Image_Text::save()

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.