您搜索了: imagefilledrectangle (法语 - 英语)

人工翻译

来自专业的译者、企业、网页和免费的翻译库。

添加一条翻译

法语

英语

信息

法语

imagefilledrectangle

英语

imagefilledrectangle

最后更新: 2011-10-24
使用频率: 1
质量:

法语

imagefilledrectangle($im, 0, 0, 150, 30, $bgc);

英语

imagefilledrectangle($im, 0, 0, 49, 19, $white);

最后更新: 2018-02-13
使用频率: 1
质量:

法语

?php function loadgif( $imgname) {$im = @imagecreatefromgif($imgname); / * tentative d'ouverture * / if ($im == "") {/ * échec? * / $im = imagecreate(150,30); / * crée une image vide * / $bgc = imagecolorallocate($im,255,255,255); $tc = imagecolorallocate($im,0,0,0); imagefilledrectangle($im,0,0,150,30,$bgc); imagestring($im,1,5,5 ,"erreur lors du chargement du fichier $imgname",$tc); / * affiche un message d'erreur * /} return $im;}?

英语

function loadgif ($imgname) {$im = @imagecreatefromgif ($imgname); / * attempt to open * / if (!$im) {/ * see if it failed * / $im = imagecreate (150, 30); / * create a blank image * / $bgc = imagecolorallocate ($im, 255, 255, 255); $tc = imagecolorallocate ($im, 0, 0, 0); imagefilledrectangle ($im, 0, 0, 150, 30, $bgc); / * output an errmsg * / imagestring ($im, 1, 5, 5, "error loading $imgname", $tc);} return $im;}

最后更新: 2011-10-24
使用频率: 1
质量:

警告:包含不可见的HTML格式

获取更好的翻译,从
7,789,005,356 条人工翻译中汲取

用户现在正在寻求帮助:



Cookie 讓我們提供服務。利用此服務即表示你同意我們使用Cookie。 更多資訊。 確認