PHP圖形處理函數總結概覽_PHP教程

來源:互聯網
上載者:User

getimagesize: 取得圖片的長寬。
imagearc: 畫弧線。
imagechar: 寫出橫向字元。
imagecharup: 寫出直式字元。
imagecolorallocate: 匹配顏色。
imagecolortransparent: 指定透明背景色。
imagecopyresized: 複製新圖並調整大小。
imagecreate: 建立新圖。
imagedashedline: 繪虛線。
imagedestroy: 結束圖形。
imagefill: 圖形著色。
imagefilledpolygon: 多邊形地區著色。
imagefilledrectangle: 矩形地區著色。
imagefilltoborder: 指定顏色地區內著色。
imagefontheight: 取得字型的高度。
imagefontwidth:這個PHP圖形處理函數 取得字型的寬度。
imageinterlace: 使用交錯式顯示與否。
imageline: 繪實線。
imageloadfont: 載入點陣字型。
imagepolygon: 繪多邊形。
imagerectangle: 繪矩形。
imagesetpixel: 繪點。
imagestring: 繪橫式字串。
imagestringup: 繪直式字串。
imagesx: 取得圖片的寬度。
imagesy: 取得圖片的高度。
imagettfbbox: 計算 ttf 文字所佔地區。
imagettftext: 寫 ttf 文字到圖中。
imagecolorat: 該PHP圖形處理函數取得圖中指定點顏色的索引值。
imagecolorclosest: 計算色表中與指定顏色最接近者。
imagecolorexact: 計算色表上指定色彩索引值。
imagecolorresolve: 計算色表上指定或最接近顏色的索引值。
imagecolorset: 配置色表上指定索引的顏色。
imagecolorsforindex: 取得色表上指定索引的顏色。
imagecolorstotal: 計算圖的顏色數。
imagepsloadfont: 載入 postscript 字型。
imagepsfreefont: 卸下 postscript 字型。
imagepsencodefont: postscript 字型轉成向量字。
imagepstext: 寫 postscript 文字到圖中。
imagepsbbox: 計算 postscript 文字所佔地區。
imagecreatefrompng: 取出 png 圖型。
imagepng: 建立 png 圖型。
imagecreatefromgif: 取出 gif 圖型。
imagegif: 建立 gif 圖型。

以上這一列表就是PHP圖形處理函數的所有種類。


http://www.bkjia.com/PHPjc/446062.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/446062.htmlTechArticlegetimagesize: 取得圖片的長寬。 imagearc: 畫弧線。 imagechar: 寫出橫向字元。 imagecharup: 寫出直式字元。 imagecolorallocate: 匹配顏色。 imagecolortran...

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.