PEAR Manual
Prev |  | Next

# 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`]])`

## Description

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.

## Return value

returns True on success, otherwise PEAR::Error.

## Throws

throws no exceptions thrown

## See

see Image_Text::save()

## Note

This function can not be called statically.

Prev | Home | Next
Image_Text::autoMeasurize() | Up | Image_Text::getImg()