Results of 1 - 3 of about 3 for foreground (0.001 sec.)
- imagexbm — XBM 画像をブラウザあるいはファイルに出力する | PHP 8.3 10919
- imagexbm (PHP 5, PHP 7, PHP 8) imagexbm — XBM 画像をブラウザあるいはファイルに出力する 説明 function imagexbm ( GdImage $image , ? string $filename , ? int $foreground_color = null ): bool imagewbmp() は、指定した image を XBM にして出力ある
... 扱える英数字以外の文字は、アンダースコアに置き換えられます。 filename を null にすると、 image を使って C 識別子を作ります。 foreground_color このパラメータで、 前景の色を指定できます。 imagecolorallocate() で 取得した ID を使用してください。デフォルトの前景 ... クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、有効な gd resource が期待されていました。 8.0.0 foreground_color は、 nullable になりました。 8.0.0 使われていなかった第4引数は削除されました。 例 例1 XBM ファイルの保存 <?php // 空 ... $im , 233 , 14 , 91 ); imagestring ( $im , 1 , 5 , 5 , 'A Simple Text String' , $text_color ); // 別の前景色を設定します $foreground_color = imagecolorallocate ( $im , 255 , 0 , 0 ); // 画像を保存します imagexbm ( $im , NULL , $foreground_color ); ?> 他の ...
-
https://man.mtool.work/php/8.3/function.imagexbm.html
- imagewbmp — 画像をブラウザあるいはファイルに出力する | PHP 8.3 10268
- imagewbmp (PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8) imagewbmp — 画像をブラウザあるいはファイルに出力する 説明 function imagewbmp ( GdImage $image , resource | string | null $file = null , ? int $foreground_color = null ): bool imagewbmp() は、指
... この関数が値を戻した後で自動的にクローズされます)。省略したり null を設定したりした場合は、画像ストリームを直接出力します。 foreground_color このパラメータで、 前景の色を指定できます。 imagecolorallocate() で 取得した ID を使用してください。デフォルトの前景 ... クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、有効な gd resource が期待されていました。 8.0.0 foreground_color は、 nullable になりました。 例 例1 WBMP 画像の出力 <?php // 空の画像を作成してテキストを追加します $im = imagecreat ... ype_to_mime_type() で content-types を取得します header ( 'Content-Type: image/vnd.wap.wbmp' ); // 別の前景色を設定します $foreground_color = imagecolorallocate ( $im , 255 , 0 , 0 ); imagewbmp ( $im , NULL , $foreground_color ); ?> 参考 image2wbmp() - 画像 ...
-
https://man.mtool.work/php/8.3/function.imagewbmp.html
- image2wbmp — 画像をブラウザあるいはファイルに出力する | PHP 8.3 6678
- image2wbmp (PHP 4 >= 4.0.5, PHP 5, PHP 7) image2wbmp — 画像をブラウザあるいはファイルに出力する 警告 この関数は PHP 7.3.0 で 非推奨 になり、PHP 8.0.0 で 削除 されました。この関数に頼らないことを強く推奨します。 説明 function image2wbmp ( re
... source $image , string $filename = ? , int $foreground = ? ): bool image2wbmp() は、イメージ im から filename に WBMP ファイルを作成します。 パラメータ image imagecreatetruecolo ... から返される画像リソース。 filename 保存されるファイルへのパス。指定しなかった場合は、生の画像ストリームが直接出力されます。 foreground imagecolorallocate() から取得した識別子をこのパラメータに設定することで、 フォアグラウンドカラーを設定できます。 デフォルト ...
-
https://man.mtool.work/php/8.3/function.image2wbmp.html
PREV
1
NEXT