PHP 手册
后退 |  | 前进

# ps_open_image

(PECL)

ps_open_image -- Reads an image for later placement

## 说明

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

Reads an image which is already available in memory. The parameter source is currently not evaluated and assumed to be memory.

## 返回值

Returns identifier of image or zero in case of an error. The identifier is a positive number greater than 0.

## 参见

ps_open_image_file()
ps_place_image()
ps_close_image()

后退 | 起点 | 前进
ps_open_image_file | 上一级 | ps_place_image