collage($sources, 800, 600); $destination = __DIR__ . '/tests/testfiles/collage-test.png'; $result = $collage_filelink->download($destination); # or //$contents = $collage_filelink->getContent(); //file_put_contents($destination, $contents); /** * Or you can create a collage using a filelink */ /* $filelink = $client->upload($test_filepath); $collage_filelink = $filelink->collage($sources, 800, 600)->save(); $result = $collage_filelink->download($destination); # or $contents = $collage_filelink->getContent(); file_put_contents($destination, $contents); // delete remote file $filelink->delete(); */ ?>