<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # GD 庫操作一般步驟 GD 庫操作大致步驟: 1. 創建畫布 2. 創建顏色 3. 開始繪畫 4. 輸出或保存圖像 5. 銷毀資源 具體代碼如下: ``` // 創建畫布 $width = 500; // 畫布寬度 $height = 200; // 畫布高度 $image = imagecreatetruecolor($width, $height); // 返回圖像標識符資源: resource(2) of type (gd) // 創建顏色 $red = imagecolorallocate($image, 255, 0, 0); $blue = imagecolorallocate($image, 0, 255, 0); $white = imagecolorallocate($image, 255, 255, 255); // 開始繪畫 imagechar($image, 5, 50, 100, 'L', $red); // 水平書寫一個字符 imagecharup($image, 5, 100, 100, 'Z', $blue); // 垂直書寫一個字符 imagestring($image, 5, 150, 100, 'webfsd', $white); // 水平繪制字符串 // 輸出或保存圖像 header('content-type: image/jpeg'); // 輸出到瀏覽器 header 頭 image/gif image/png imagejpeg($image); // 創建圖片 imagegif() imagepng() // 銷毀資源 imagedestroy($image); ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看