Download
Download Latest
Version Support Policy
Documentation
Documentation Home
Tutorial
Project
Governance
Branding
License
GitHub Repository
Community
Contribute to PHP
Online Communities
Events | Conferences
Mailing Lists
PHP 8.5
All Releases
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Safe Mode
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Credit Card Processing
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
GD および Image 関数
PHP Manual
PHP Manual
»
GD
»
GD および Image 関数
GD および Image 関数
目次
gd_info
— 現在インストールされているGDライブラリに関する情報を取得する
getimagesize
— 画像の大きさを取得する
getimagesizefromstring
— 画像の大きさを文字列から取得する
image_type_to_extension
— 画像形式からファイルの拡張子を取得する
image_type_to_mime_type
— getimagesize, exif_read_data, exif_thumbnail, exif_imagetypeから返される 画像形式のMIMEタイプを取得する
image2wbmp
— 画像をブラウザあるいはファイルに出力する
imageaffine
— 元の画像を、オプションのクリッピング領域を使ってアフィン変換した画像を返す
imageaffinematrixconcat
— 二つのアフィン変換行列を連結する
imageaffinematrixget
— アフィン変換行列を取得する
imagealphablending
— イメージのブレンドモードを設定する
imageantialias
— アンチエイリアス機能を使用すべきかどうかを判断する
imagearc
— 部分楕円を描画する
imageavif
— 画像をブラウザあるいはファイルに出力する
imagebmp
— ビットマップ画像をブラウザかファイルに出力する
imagechar
— 水平に文字を描画する
imagecharup
— 垂直に文字を描画する
imagecolorallocate
— 画像で使用する色を作成する
imagecolorallocatealpha
— 画像で使用する色を透過度を指定して作成する
imagecolorat
— ピクセルの色のインデックスを取得する
imagecolorclosest
— 指定した色に最も近い色のインデックスを取得する
imagecolorclosestalpha
— 指定した色+アルファ値に最も近い色のインデックスを取得する
imagecolorclosesthwb
— 色合い、白、黒を有する色のインデックスを得る
imagecolordeallocate
— イメージの色リソースを開放する
imagecolorexact
— 指定した色のインデックスを取得する
imagecolorexactalpha
— 指定した色+アルファ値のインデックスを取得する
imagecolormatch
— パレットイメージの色を True カラーイメージに近づける
imagecolorresolve
— 指定した色または出来るだけ近い色のインデックスを得る
imagecolorresolvealpha
— 指定した色+アルファ値または最も近い色のインデックスを取得する
imagecolorset
— 指定したパレットインデックスの色を設定する
imagecolorsforindex
— カラーインデックスからカラーを取得する
imagecolorstotal
— 画像パレットの色数を検出する
imagecolortransparent
— 透明色を定義する
imageconvolution
— div および offset の係数を使用し、3x3 の畳み込み配列を適用する
imagecopy
— 画像の一部をコピーする
imagecopymerge
— イメージの一部をコピー、マージする
imagecopymergegray
— グレースケールでイメージの一部をコピー、マージする
imagecopyresampled
— 再サンプリングを行いイメージの一部をコピー、伸縮する
imagecopyresized
— 画像の一部をコピーしサイズを変更する
imagecreate
— パレットを使用する新規画像を作成する
imagecreatefromavif
— 新しい画像をファイルあるいは URL から作成する
imagecreatefrombmp
— 新しい画像をファイルあるいは URL から作成する
imagecreatefromgd
— GD ファイルまたは URL から新規イメージを生成する
imagecreatefromgd2
— GD2 ファイルまたは URL から新規イメージを生成する
imagecreatefromgd2part
— GD2 ファイルまたは URL の指定した部分から新規イメージを生成する
imagecreatefromgif
— 新しい画像をファイルあるいは URL から作成する
imagecreatefromjpeg
— 新しい画像をファイルあるいは URL から作成する
imagecreatefrompng
— 新しい画像をファイルあるいは URL から作成する
imagecreatefromstring
— 文字列の中のイメージストリームから新規イメージを作成する
imagecreatefromtga
— 新しい画像をファイルあるいは URL から作成する
imagecreatefromwbmp
— 新しい画像をファイルあるいは URL から作成する
imagecreatefromwebp
— 新しい画像をファイルあるいは URL から作成する
imagecreatefromxbm
— 新しい画像をファイルあるいは URL から作成する
imagecreatefromxpm
— 新しい画像をファイルあるいは URL から作成する
imagecreatetruecolor
— TrueColor イメージを新規に作成する
imagecrop
— 指定した矩形に画像をクロップする
imagecropauto
— 利用可能なモードを指定して、画像を自動的にクロップする
imagedashedline
— 破線を描画する
imagedestroy
— 画像を破棄する
imageellipse
— 楕円を描画する
imagefill
— 塗り潰す
imagefilledarc
— 楕円弧を描画し、塗りつぶす
imagefilledellipse
— 塗りつぶされた楕円を描画する
imagefilledpolygon
— 塗りつぶした多角形を描画する
imagefilledrectangle
— 塗りつぶした矩形を描画する
imagefilltoborder
— 特定色で塗りつぶす
imagefilter
— 画像にフィルタを適用する
imageflip
— 指定したモードで画像を反転させる
imagefontheight
— フォントの高さを取得する
imagefontwidth
— フォントの幅を取得する
imageftbbox
— freetype2 によるフォントを用いたテキストを囲む箱を取得する
imagefttext
— FreeType 2 によるフォントを用いてイメージにテキストを描画する
imagegammacorrect
— GD イメージにガンマ補正を適用する
imagegd
— GD イメージをブラウザまたはファイルに出力する
imagegd2
— GD2 イメージをブラウザまたはファイルに出力する
imagegetclip
— 長方形を切り取り、画像として取得する
imagegetinterpolation
— 補間方法を取得する
imagegif
— 画像をブラウザあるいはファイルに出力する
imagegrabscreen
— 画面全体をキャプチャする
imagegrabwindow
— ウィンドウをキャプチャする
imageinterlace
— インターレースを有効もしくは無効にする
imageistruecolor
— 画像が truecolor かどうか調べる
imagejpeg
— 画像をブラウザあるいはファイルに出力する
imagelayereffect
— アルファブレンディングフラグを設定し、レイヤ効果を使用する
imageline
— 直線を描画する
imageloadfont
— 新しいフォントを読み込む
imageopenpolygon
— オープンポリゴンを描画する
imagepalettecopy
— あるイメージから他のイメージにパレットをコピーする
imagepalettetotruecolor
— パレット形式の画像を true color に変換する
imagepng
— PNG イメージをブラウザまたはファイルに出力する
imagepolygon
— 多角形を描画する
imagerectangle
— 矩形を描画する
imageresolution
— 画像の解像度を取得/設定する
imagerotate
— 指定された角度で画像を回転する
imagesavealpha
— 画像を保存する際に、完全なアルファチャネル情報を保存するかどうかを指定する
imagescale
— 幅と高さを指定して、画像の縮尺を変更する
imagesetbrush
— 線の描画用にブラシイメージを設定する
imagesetclip
— 切り取る長方形を設定する
imagesetinterpolation
— 補間方法を設定する
imagesetpixel
— 点を生成する
imagesetstyle
— 線描画用のスタイルを設定する
imagesetthickness
— 線描画用の線幅を設定する
imagesettile
— 塗りつぶし用のイメージを設定する
imagestring
— 文字列を水平に描画する
imagestringup
— 文字列を垂直に描画する
imagesx
— 画像の幅を取得する
imagesy
— 画像の高さを取得する
imagetruecolortopalette
— TrueColor イメージをパレットイメージに変換する
imagettfbbox
— TypeType フォントを使用したテキストの bounding box を生成する
imagettftext
— TrueType フォントを使用してテキストを画像に書き込む
imagetypes
— この PHP がサポートしている画像形式を返す
imagewbmp
— 画像をブラウザあるいはファイルに出力する
imagewebp
— WebP 画像をブラウザあるいはファイルに出力する
imagexbm
— XBM 画像をブラウザあるいはファイルに出力する
iptcembed
— バイナリ IPTC データを JPEG イメージに埋めこむ
iptcparse
— バイナリの IPTC ブロックのタグをパースする
jpeg2wbmp
— JPEG画像をWBMP画像に変換する
png2wbmp
— PNG画像をWBMP画像に変換する
↑
and
↓
to navigate •
Enter
to select •
Esc
to close •
/
to open
Press
Enter
without selection to search using Google