src/ext-3rd/tinymce/plugins/images/connector/php/Image_Toolbox.class.php
function addImage()
    {
        $args = func_get_args();
        $argc = func_num_args();

        if ($this->_addImage($argc, $args))
        {
            return true;
        }
        else
        {
            //trigger_error($this->_error_prefix . 'failed to add image.', E_USER_ERROR);
            return false;
        }
    }
function addImage()
    {
        $args = func_get_args();
        $argc = func_num_args();

        if ($this->_addImage($argc, $args))
        {
            return true;
        }
        else
        {
            //trigger_error($this->_error_prefix . 'failed to add image.', E_USER_ERROR);
            return false;
        }
    }
function addImage ( ) { $ args = func_get_args ( ) ; $ argc = func_num_args ( ) ; if ( $ this -> _addImage ( $ argc , $ args ) ) { return true ; } else { //trigger_error($this->_error_prefix . 'failed to add image.', E_USER_ERROR); return false ; } }
Adds a new image resource based on the given parameters.

It does not overwrite the existing image resource.<br>
Instead it is used to load a second image to merge with the existing image.

Parameter:<br>
<i>string</i> <b>$file</b> imagefile to load<br>
Or:<br>
<i>integer</i> <b>$width</b> imagewidth of new image to be created<br>
<i>integer</i> <b>$height</b> imageheight of new image to be created<br>
<i>string</i> <b>$fillcolor</b> optional fill the new image with this color (hexformat, e.g. '#FF0000')<br>
Adds a new image resource based on the given parameters .