ps_open_image_file
(PECL ps >= 1.1.0)
ps_open_image_file — Opens image from file
说明
   ps_open_image_file(
resource
string
string
string
int
): int
  resource
$psdoc,string
$type,string
$filename,string
$stringparam = ?,int
$intparam = 0): int
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, oreps. 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
 
  +添加备注
  
 用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/function.ps-open-image-file.php