ps_open_image

(PECL)

ps_open_image -- 後で配置するために画像を読み込む

説明

int ps_open_image ( resource psdoc, string type, string source, string data, int lenght, int width, int height, int components, int bpc, string params )

すでにメモリ上にある画像を読み込みます。現在は source は評価されず、常に memory と仮定されます。

返り値

成功した場合に画像の ID を、失敗した場合にゼロを返します。 ID は、0 より大きい正の数値です。

参考

ps_open_image_file()
ps_place_image()
ps_close_image()