<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之旅 廣告
                ## 圖片轉字符 ```php //圖片轉字符 // $lei->color_dodge_blend($im,2,$width,$height); $image_path = "1.jpg"; // $image_path="2.png"; $im = imagecreatefromjpeg($image_path); $imgWidth = imagesx($im); $imgHeight = imagesy($im); for($i=0;$i<$imgHeight;$i++) for($j=0;$j<$imgWidth;$j++) { $rgb = ImageColorAt($im, $j,$i); $r=($rgb>>16); //取得紅色分量 $g=($rgb&0x00ff00)>>8; //取得綠色分量 $b=$rgb&0x0000ff; //取得藍色分量 $t=($r*3+$g*6+$b)/10;//轉成灰度 $t=floor($t); if($t<25) //輸出ascii { echo "@"; }else if($t<50) { echo "B"; }else if($t<75) { echo "A"; }else if($t<100) { echo "@"; }else if($t<125) { echo "9"; }else if($t<150) { echo "*"; }else if($t<175) { echo "+"; }else if($t<200) { echo ";"; }else if($t<=225) { echo ","; }else{ echo "."; } if($j>$imgWidth-2) //跟著圖片換行 echo "\r\n"; } die; ```
                  <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>

                              哎呀哎呀视频在线观看