« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 8 of about 8 for 方形 (0.002 sec.)
imagegetclip — 長方形を切り取り、画像として取得する | PHP 8.3 12995
imagegetclip (PHP 7 >= 7.2.0, PHP 8) imagegetclip — 長方形を切り取り、画像として取得する 説明 function imagegetclip ( GdImage $image ): array imagegetclip() 関数は、現在切り取っている長方形を取得します。 つまり、ピクセルが存在しない状態でな ... パラメータ image imagecreatetruecolor() のような画像作成関数が返す GdImage オブジェクト。 戻り値 この関数は、切り取っている長方形の座標を配列で返し、 次のエントリを持ちます: 左上のx座標 左上のx座標 右下のx座標 右下のy座標 変更履歴 バージョン 説明 8.0.0 ... 。 これより前のバージョンでは、有効な gd resource が期待されていました。 例 例1 imagegetclip() の例 切り取る範囲を設定し、長方形のクリップを取得します。 <?php $im = imagecreate ( 100 , 100 ); imagesetclip ( $im , 10 , 10 , 89 , 89 ); print_r ( imageget ... ( $im )); 上の例の出力は以下となります。 Array ( [0] => 10 [1] => 10 [2] => 89 [3] => 89 ) 参考 imagesetclip() - 切り取る長方形を設定する 他のマニュアルの関連ページ Docker docker image Python colorsys ...
https://man.mtool.work/php/8.3/function.imagegetclip.html
imagesetclip — 切り取る長方形を設定する | PHP 8.3 11061
imagesetclip (PHP 7 >= 7.2.0, PHP 8) imagesetclip — 切り取る長方形を設定する 説明 function imagesetclip ( GdImage $image , int $x1 , int $y1 , int $x2 , int $y2 ): true imagesetclip() は、切り取る長方形を設定します。 つまり、ピクセルが存在し ... スを期待するようになりました。 これより前のバージョンでは、有効な gd resource が期待されていました。 参考 imagegetclip() - 長方形を切り取り、画像として取得する 他のマニュアルの関連ページ Docker docker image Python colorsys ...
https://man.mtool.work/php/8.3/function.imagesetclip.html
imagesetthickness — 線描画用の線幅を設定する | PHP 8.3 8169
imagesetthickness (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) imagesetthickness — 線描画用の線幅を設定する 説明 function imagesetthickness ( GdImage $image , int $thickness ): true imagesetthickness() は、長方形、多角形、弧などを描画する際の線幅を ...
https://man.mtool.work/php/8.3/function.imagesetthickness.html
GD および Image 関数 | PHP 8.3 8169
GD および Image 関数 目次 gd_info — 現在インストールされているGDライブラリに関する情報を取得する getimagesize — 画像の大きさを取得する getimagesizefromstring — 画像の大きさを文字列から取得する image_type_to_extension — 画像形式からファイルの ... — GD イメージをブラウザまたはファイルに出力する imagegd2 — GD2 イメージをブラウザまたはファイルに出力する imagegetclip — 長方形を切り取り、画像として取得する imagegetinterpolation — 補間方法を取得する imagegif — 画像をブラウザあるいはファイルに出力する ... e — 幅と高さを指定して、画像の縮尺を変更する imagesetbrush — 線の描画用にブラシイメージを設定する imagesetclip — 切り取る長方形を設定する imagesetinterpolation — 補間方法を設定する imagesetpixel — 点を生成する imagesetstyle — 線描画用のスタイルを設定す ...
https://man.mtool.work/php/8.3/ref.image.html
imagealphablending — イメージのブレンドモードを設定する | PHP 8.3 8061
imagealphablending (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) imagealphablending — イメージのブレンドモードを設定する 説明 function imagealphablending ( GdImage $image , bool $enable ): true imagealphablending() によりTrueColorイメージに 二つの異 ... $im = imagecreatetruecolor ( 100 , 100 ); // アルファブレンディングをオンにします imagealphablending ( $im , true ); // 正方形を描画します imagefilledrectangle ( $im , 30 , 30 , 70 , 70 , imagecolorallocate ( $im , 255 , 0 , 0 )); // 出力します heade ...
https://man.mtool.work/php/8.3/function.imagealphablending.html
imagecrop — 指定した矩形に画像をクロップする | PHP 8.3 8061
imagecrop (PHP 5 >= 5.5.0, PHP 7, PHP 8) imagecrop — 指定した矩形に画像をクロップする 説明 function imagecrop ( GdImage $image , array $rectangle ): GdImage | false 画像を指定した矩形範囲にクロップして、クロップ後の画像を返します。 パラメー ... を返すようになりました。 これより前のバージョンでは、 resource を返していました。 例 例1 imagecrop() の例 この例は、画像を正方形にクロップする方法を示すものです。 <?php $im = imagecreatefrompng ( 'example.png' ); $size = min ( imagesx ( $im ), imagesy ...
https://man.mtool.work/php/8.3/function.imagecrop.html
画像処理 (GD) | PHP 8.3 7952
画像処理 (GD) はじめに PHPができることは、HTML出力を生成することだけではありません。PHP は、多くの異なるイメージ形式でイメージファイルを作成したり、操作 したりすることもできます。このイメージ形式には、 GIF , PNG , JPEG , WBMP および XPM が含 ... — GD イメージをブラウザまたはファイルに出力する imagegd2 — GD2 イメージをブラウザまたはファイルに出力する imagegetclip — 長方形を切り取り、画像として取得する imagegetinterpolation — 補間方法を取得する imagegif — 画像をブラウザあるいはファイルに出力する ... e — 幅と高さを指定して、画像の縮尺を変更する imagesetbrush — 線の描画用にブラシイメージを設定する imagesetclip — 切り取る長方形を設定する imagesetinterpolation — 補間方法を設定する imagesetpixel — 点を生成する imagesetstyle — 線描画用のスタイルを設定す ...
https://man.mtool.work/php/8.3/book.image.html
imagefttext — FreeType 2 によるフォントを用いてイメージにテキストを描画する | P... 7735
imagefttext (PHP 4 >= 4.0.7, PHP 5, PHP 7, PHP 8) imagefttext — FreeType 2 によるフォントを用いてイメージにテキストを描画する 説明 function imagefttext ( GdImage $image , float $size , float $angle , int $x , int $y , int $color , string $f ... テキスト。 options options の配列のインデックス キー 型 意味 linespacing float 描画時の行間を定義します 戻り値 この関数は、長方形の 4 つの角を表す点の配列を返します。 最初が左下の位置で、そこから反時計回りに回ります。 0 左下の x 座標 1 左下の y 座標 2 右 ...
https://man.mtool.work/php/8.3/function.imagefttext.html
PREV 1 NEXT