« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for imagesetbrush (0.001 sec.)
imagesetbrush — 線の描画用にブラシイメージを設定する | PHP 8.3 12501
imagesetbrush (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) imagesetbrush — 線の描画用にブラシイメージを設定する 説明 function imagesetbrush ( GdImage $image , GdImage $brush ): true imagesetbrush() は、特別な色 IMG_COLOR_BRUSHED または IMG_COLOR_S ... 、 GdImage クラスのインスタンスを期待するようになりました。 これより前のバージョンでは resource を期待していました。 例 例1 imagesetbrush() の例 <?php // 小さい php ロゴを読み込みます $php = imagecreatefrompng ( './php.png' ); // 100x100 のメイン画像を作成しま ... agecolorallocate ( $im , 255 , 255 , 255 ); imagefilledrectangle ( $im , 0 , 0 , 99 , 99 , $white ); // ブラシを設定します imagesetbrush ( $im , $php ); // いくつかのブラシを重ねます imageline ( $im , 50 , 50 , 50 , 60 , IMG_COLOR_BRUSHED ); // 画像をブラウザ ...
https://man.mtool.work/php/8.3/function.imagesetbrush.html
imagesetstyle — 線描画用のスタイルを設定する | PHP 8.3 9872
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 ... w ); imagesetstyle ( $im , $style ); imageline ( $im , 0 , 0 , 100 , 100 , IMG_COLOR_STYLED ); /* imagesetstyle を併用した imagesetbrush() を使用して happy face の線を描画します */ $style = array( $w , $w , $w , $w , $w , $w , $w , $w , $w , $w , $w , $w , $r ... /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 ); imagejpeg ( $im ); ?> 上の例の出力は、 ... たとえば以下のようになります。 参考 imagesetbrush() - 線の描画用にブラシイメージを設定する imageline() - 直線を描画する 他のマニュアルの関連ページ Django tutorial06 Python ...
https://man.mtool.work/php/8.3/function.imagesetstyle.html
GD および Image 関数 | PHP 8.3 7942
GD および Image 関数 目次 gd_info — 現在インストールされているGDライブラリに関する情報を取得する getimagesize — 画像の大きさを取得する getimagesizefromstring — 画像の大きさを文字列から取得する image_type_to_extension — 画像形式からファイルの ... を保存する際に、完全なアルファチャネル情報を保存するかどうかを指定する imagescale — 幅と高さを指定して、画像の縮尺を変更する imagesetbrush — 線の描画用にブラシイメージを設定する imagesetclip — 切り取る長方形を設定する imagesetinterpolation — 補間方法を設定する ...
https://man.mtool.work/php/8.3/ref.image.html
画像処理 (GD) | PHP 8.3 7850
画像処理 (GD) はじめに PHPができることは、HTML出力を生成することだけではありません。PHP は、多くの異なるイメージ形式でイメージファイルを作成したり、操作 したりすることもできます。このイメージ形式には、 GIF , PNG , JPEG , WBMP および XPM が含 ... を保存する際に、完全なアルファチャネル情報を保存するかどうかを指定する imagescale — 幅と高さを指定して、画像の縮尺を変更する imagesetbrush — 線の描画用にブラシイメージを設定する imagesetclip — 切り取る長方形を設定する imagesetinterpolation — 補間方法を設定する ...
https://man.mtool.work/php/8.3/book.image.html
リソース型の一覧 | PHP 8.3 7758
リソース型の一覧 以下にPHPのリソースを生成、使用、破棄するための関数の一覧を示します。 is_resource() によりある変数がリソースであるかど うかを調べることが可能です。また、 get_resource_type() は変数のリソース型を返します。 Resource Types リソ ... , imagecolorresolvealpha() , imagecopymerge() , imagecopymergegray() , imagecopyresampled() , imagetruecolortopalette() , imagesetbrush() , imagesettile() , imagesetthickness() , image2wbmp() , imagealphablending() , imageantialias() , imagecolorallocatealph ...
https://man.mtool.work/php/8.3/resource.html
PREV 1 NEXT