Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 16226 программистов и 1779 роботов. Сейчас ищут 1737 программистов ...
ps_open_image_file - Opens image from file
Вернуться к: PS Функции
ps_open_image_file
(PECL ps >= 1.1.0)
ps_open_image_file — Opens image from file
Описание
int ps_open_image_file
( resource
$psdoc
, string $type
, string $filename
[, string $stringparam
[, int $intparam
= 0
]] )Loads an image for later use.
Список параметров
-
psdoc
-
Resource identifier of the postscript file as returned by ps_new().
-
type
-
The type of the image. Possible values are png, jpeg, or eps.
-
filename
-
The name of the file containing the image data.
-
stringparam
-
Not used.
-
intparam
-
Not used.
Возвращаемые значения
Returns identifier of image or zero in case of an error. The identifier is a positive number greater than 0.
Смотрите также
- ps_open_image() - Reads an image for later placement
- ps_place_image() - Places image on the page
- ps_close_image() - Closes image and frees memory
Вернуться к: PS Функции