private function saveScreenshot($source, $dest) { $image = new SimpleImage(); $image->load($source); //$image->save($dest); $image->upload_to_amazon($source, $dest); return true; }