« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 7 of about 7 for imagecolortransparent (0.001 sec.)
imagecolortransparent — 透明色を定義する | PHP 8.3 13504
imagecolortransparent (PHP 4, PHP 5, PHP 7, PHP 8) imagecolortransparent — 透明色を定義する 説明 function imagecolortransparent ( GdImage $image , ? int $color = null ): int 指定した画像 image 上の透明色を設定したり、取得したりします。 パラ ... した。 これより前のバージョンでは、有効な gd resource が期待されていました。 8.0.0 color は、nullable になりました。 例 例1 imagecolortransparent() の例 <?php // 55x30 の画像を作成します $im = imagecreatetruecolor ( 55 , 30 ); $red = imagecolorallocate ( $im , 255 , 0 ... , 0 ); $black = imagecolorallocate ( $im , 0 , 0 , 0 ); // 背景を透明にします imagecolortransparent ( $im , $black ); // 赤い矩形を描画します imagefilledrectangle ( $im , 4 , 4 , 50 , 25 , $red ); // 画像を保存します image ... png ( $im , './imagecolortransparent.png' ); ?> 上の例の出力は、 たとえば以下のようになります。 注意 注意 : 透過性は imagecopymerge() かつ True カラーの場合のみ ...
https://man.mtool.work/php/8.3/function.imagecolortransparent.html
imagesetstyle — 線描画用のスタイルを設定する | PHP 8.3 8615
imagesetstyle (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) imagesetstyle — 線描画用のスタイルを設定する 説明 function imagesetstyle ( GdImage $image , array $style ): bool imagesetstyle() は、特別な IMG_COLOR_STYLED または色を有するイメージの線 IM ... frompng ( "http://www.libpng.org/pub/png/images/smile.happy.png" ); $w2 = imagecolorallocate ( $brush , 255 , 255 , 255 ); imagecolortransparent ( $brush , $w2 ); imagesetbrush ( $im , $brush ); imageline ( $im , 100 , 0 , 0 , 100 , IMG_COLOR_STYLEDBRUSHED ); imagejp ...
https://man.mtool.work/php/8.3/function.imagesetstyle.html
imagesettile — 塗りつぶし用のイメージを設定する | PHP 8.3 8615
imagesettile (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) imagesettile — 塗りつぶし用のイメージを設定する 説明 function imagesettile ( GdImage $image , GdImage $tile ): true imagesettile() は、特別な色 IMG_COLOR_TILED を指定して塗りつぶされた場合に ... を設定します。 タイルは、領域を塗りつぶすために繰り返し使用されるイメージです。 全ての GD イメージをタイルとして使用可能で、 imagecolortransparent() でタイルの透過色 ID を設定することにより、 その一部から下の部分が透けて見えるようなタイルを作成することが可能です。 警告 ...
https://man.mtool.work/php/8.3/function.imagesettile.html
imagegif — 画像をブラウザあるいはファイルに出力する | PHP 8.3 8433
imagegif (PHP 4, PHP 5, PHP 7, PHP 8) imagegif — 画像をブラウザあるいはファイルに出力する 説明 function imagegif ( GdImage $image , resource | string | null $file = null ): bool imagegif() は画像 image から file に GIF ファイルを作成します。 ... 引数 image は imagecreate() あるいは imagecreatefrom* 関数から返されたものです。 画像フォーマットは、 imagecolortransparent() を 用いて画像を透明化しない限り GIF87a となります。 透明化した場合の画像フォーマットは GIF89a となります。 パラメータ im ...
https://man.mtool.work/php/8.3/function.imagegif.html
GD および Image 関数 | PHP 8.3 8233
GD および Image 関数 目次 gd_info — 現在インストールされているGDライブラリに関する情報を取得する getimagesize — 画像の大きさを取得する getimagesizefromstring — 画像の大きさを文字列から取得する image_type_to_extension — 画像形式からファイルの ... の色を設定する imagecolorsforindex — カラーインデックスからカラーを取得する imagecolorstotal — 画像パレットの色数を検出する imagecolortransparent — 透明色を定義する imageconvolution — div および offset の係数を使用し、3x3 の畳み込み配列を適用する imagecopy — 画像の一部 ...
https://man.mtool.work/php/8.3/ref.image.html
画像処理 (GD) | PHP 8.3 8124
画像処理 (GD) はじめに PHPができることは、HTML出力を生成することだけではありません。PHP は、多くの異なるイメージ形式でイメージファイルを作成したり、操作 したりすることもできます。このイメージ形式には、 GIF , PNG , JPEG , WBMP および XPM が含 ... の色を設定する imagecolorsforindex — カラーインデックスからカラーを取得する imagecolorstotal — 画像パレットの色数を検出する imagecolortransparent — 透明色を定義する imageconvolution — div および offset の係数を使用し、3x3 の畳み込み配列を適用する imagecopy — 画像の一部 ...
https://man.mtool.work/php/8.3/book.image.html
リソース型の一覧 | PHP 8.3 8033
リソース型の一覧 以下にPHPのリソースを生成、使用、破棄するための関数の一覧を示します。 is_resource() によりある変数がリソースであるかど うかを調べることが可能です。また、 get_resource_type() は変数のリソース型を返します。 Resource Types リソ ... olorresolve() , imagegammacorrect() , imagegammacorrect() , imagecolorset() , imagecolorsforindex() , imagecolorstotal() , imagecolortransparent() , imagecopy() , imagecopyresized() , imagedashedline() , imagefill() , imagefilledpolygon() , imagefilledrectangle() , i ...
https://man.mtool.work/php/8.3/resource.html
PREV 1 NEXT