(PECL ps >= 1.1.0)
ps_open_image_file — ファイルから画像を開く
$psdoc
,$type
,$filename
,$stringparam
= ?,$intparam
= 0後で使用するために、画像を読み込みます。
psdoc
ps_new() が返す、postscript ファイルのリソース ID。
type
画像の形式。png
、
jpeg
あるいは eps
。
filename
画像データを含むファイルの名前。
stringparam
使用されません。
intparam
使用されません。
成功した場合に画像の ID を、失敗した場合にゼロを返します。 ID は、0 より大きい正の数値です。
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant