浏览代码

prepare to choose method via nonce

master
父节点
当前提交
a79e986350
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      methode2/robot.php

+ 2
- 3
methode2/robot.php 查看文件

@ -38,7 +38,7 @@ $mode=8;
if (isset($argv[3])) $mode=intval($argv[3]);
// ---
// --- Par défaut mode 8
// --- Par défaut taille 1
// ---
$taille=1;
if (isset($argv[4])) $taille=intval($argv[4]);
@ -66,10 +66,9 @@ if ($methode == 'mondrian') $couleur = 9;
$width = $marge + ($width*2) + (2*$text_border);
$height = $marge + ($height*2);
// création d'une image plus haute pour inclure bandeaux haut et bas
$img_w = $width;
$img_h = $height+(2*$bandeau);
// création d'une image plus haute pour inclure bandeaux haut et bas
$img = imagecreatetruecolor($img_w, $img_h);
// ---

正在加载...
取消
保存