I use the Following Php Code to Manipulate image using GD library and upload that modified image to facebook.My question is Can i achieve the Same using Javascript.If so What technology should i use.thanks.
$iOut = imagecreatefromjpeg("new.jpg");
$name = "hello all";
imagettftext( $iOut, 20, 0,214,119, $blue, $font, $name );
imagejpeg($iOut,"neww.jpg");
$filename="neww.jpg";
$attachment['image'] ='@'.realpath($filename);
$photo = $facebook->api('/'.$aid.'/photos', 'POST', $attachment);
note:The above code add the Text "hello all" to an new image "neww.jpg"