PEAR Manual
Prev |  | Next

# Image_Text::save()

Image_Text::save() -- Save image canvas.

## Synopsis

    require_once 'ImageText.php';

``bool Image_Text::save` ([string $destFile = `FALSE`])`

## Description

Saves the image to a given destination. You can leave out the destination file path, if you have the option for that set correctly. Saving is possible with the save() method, too.

## Parameter

string `$destFile`

  The destination to save to (optional, uses options value else).

## Return value

returns True on success, otherwise PEAR::Error.

## Throws

throws no exceptions thrown

## See

see Image_Text::display()

## Note

This function can not be called statically.

Prev | Home | Next
Image_Text::render() | Up | Image_Text::set()