<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>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                1、獲取文字尺寸屬性:imagettftext($image, $size, $angle, $x, $y, $color, $fontfile, $text)。 $img = imagecreatetruecolor(300, 300); imagefill($img, 0, 0, imagecolorallocate($img, 123, 213, 321)); $c = imagettftext($img, 14, 0, 10, 40, imagecolorallocate($img, 255, 255, 255), 'font/msyh.ttc', iconv("gbk", "utf-8", 'fxxyhttp://www.baidu.com')); echo '<pre>'; print_r($c); echo '這幾個字的尺寸是:<br/>'; echo '寬:'.($c[2]-$c[6]).'<br/>'; echo '高:'.($c[3]-$c[7]); 2、圖像旋轉: imagerotate($image, $angle, $bgd_color)。 $img = imagecreatefromjpeg('test.jpg'); $rotate = imagerotate($img, 90, 0); header('Content-type:image/jpeg'); imagejpeg($rotate); 3、圖像整合,并且設置水印透明度:imagecopymerge($dst_im, $src_im, $dst_x, $dst_y, $src_x, $src_y, $src_w, $src_h, $pct)。 參數解釋:將 src_im 圖像中坐標從 src_x,src_y 開始,寬度為 src_w,高度為 src_h 的一部分拷貝到 dst_im 圖像中坐標為 dst_x 和 dst_y 的位置上。 $img = imagecreatetruecolor(400, 400); imagefill($img, 0, 0, imagecolorallocate($img, 255, 0, 0)); $jpeg = imagecreatefromjpeg('test.jpg'); //imagecopy($img, $jpeg, (imagesx($img)-imagesx($jpeg))/2, (imagesy($img)-imagesy($jpeg))/2, 0, 0, imagesx($jpeg), imagesy($jpeg)); imagecopymerge($img, $jpeg, (imagesx($img)-imagesx($jpeg))/2, (imagesy($img)-imagesy($jpeg))/2, 0, 0, imagesx($jpeg), imagesy($jpeg),30); header('Content-type:image/jpeg'); imagejpeg($img);
                  <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>

                              哎呀哎呀视频在线观看