public function updatePicture($pictureIndex, $picture_data)
    {
        //Build URI
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() . '/worksheets/' . $this->worksheetName . '/pictures/' . $pictureIndex;
        //Sign URI
        $signedURI = Utils::sign($strURI);
        //Send request and receive response stream
        $responseStream = Utils::processCommand($signedURI, 'POST', 'json', $picture_data);
        $json = json_decode($responseStream);
        return $json;

    }
public function updatePicture($pictureIndex, $picture_data)
    {
        //Build URI
        $strURI = Product::$baseProductUri . '/cells/' . $this->getFileName() . '/worksheets/' . $this->worksheetName . '/pictures/' . $pictureIndex;
        //Sign URI
        $signedURI = Utils::sign($strURI);
        //Send request and receive response stream
        $responseStream = Utils::processCommand($signedURI, 'POST', 'json', $picture_data);
        $json = json_decode($responseStream);
        return $json;

    }
public function updatePicture ( $ pictureIndex , $ picture_data ) { //Build URI $ strURI = Product :: $ baseProductUri . '/cells/' . $ this -> getFileName ( ) . '/worksheets/' . $ this -> worksheetName . '/pictures/' . $ pictureIndex ; //Sign URI $ signedURI = Utils :: sign ( $ strURI ) ; //Send request and receive response stream $ responseStream = Utils :: processCommand ( $ signedURI , 'POST' , 'json' , $ picture_data ) ; $ json = json_decode ( $ responseStream ) ; return $ json ; }
Update a specific picture from worksheet.

@param integer $pictureIndex Index of the picture.
@param array $picture_data Picture data.

@return object
@throws Exception
Update a specific picture from worksheet .