public function appendTiff($appendFile = "")
    {
        //check whether file is set or not
        if ($appendFile == '')
            throw new Exception('No file name specified');

        $strURI = Product::$baseProductUri . '/imaging/tiff/' . $this->getFileName() . '/appendTiff?appendFile=' . $appendFile;

        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::processCommand($signedURI, 'POST', '', '');

        $json = json_decode($responseStream);

        if ($json->Status == 'OK') {
            $folder = new Folder();
            $outputStream = $folder->getFile($this->getFileName());
            $outputPath = AsposeApp::$outPutLocation . $this->getFileName();
            Utils::saveFile($outputStream, $outputPath);
            return $outputPath;
        } else {
            return false;
        }
    }
public function appendTiff($appendFile = "")
    {
        //check whether file is set or not
        if ($appendFile == '')
            throw new Exception('No file name specified');

        $strURI = Product::$baseProductUri . '/imaging/tiff/' . $this->getFileName() . '/appendTiff?appendFile=' . $appendFile;

        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::processCommand($signedURI, 'POST', '', '');

        $json = json_decode($responseStream);

        if ($json->Status == 'OK') {
            $folder = new Folder();
            $outputStream = $folder->getFile($this->getFileName());
            $outputPath = AsposeApp::$outPutLocation . $this->getFileName();
            Utils::saveFile($outputStream, $outputPath);
            return $outputPath;
        } else {
            return false;
        }
    }
public function appendTiff ( $ appendFile = "" ) { //check whether file is set or not if ( $ appendFile == '' ) throw new Exception ( 'No file name specified' ) ; $ strURI = Product :: $ baseProductUri . '/imaging/tiff/' . $ this -> getFileName ( ) . '/appendTiff?appendFile=' . $ appendFile ; $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'POST' , '' , '' ) ; $ json = json_decode ( $ responseStream ) ; if ( $ json -> Status == 'OK' ) { $ folder = new Folder ( ) ; $ outputStream = $ folder -> getFile ( $ this -> getFileName ( ) ) ; $ outputPath = AsposeApp :: $ outPutLocation . $ this -> getFileName ( ) ; Utils :: saveFile ( $ outputStream , $ outputPath ) ; return $ outputPath ; } else { return false ; } }
Appends second tiff image to the original.

@param string $appendFile The tiff image file to append.

@return string|boolean
@throws Exception
Appends second tiff image to the original .