pdf_open_gif

( PHP 3 = 3.0.7 , PHP 4 )

pdf_open_gif -- Opens a GIF image

Popis

int pdf_open_gif ( int pdf document, string filename)

Funkce pdf_open_gif( ) function opens an image stored in the file with the name filename . The format of the image has to be gif . The function returns a pdf image identifier .

Poznámka : This function shouldn ' t be used anymore . Please use the function pdf_open_image_file( ) instead .

Příklad 1 . Including a gif image

 
?php

 
$im

 
=

 
pdf_open_gif(

 
$pdf

 
,

 
"test.gif")

 
;

 
pdf_place_image($pdf

 
,

 
$im

 
,

 
100

 
,

 
100

 
,

 
1)

 
;

 
pdf_close_image($pdf

 
,

 
$im)

 
;

 
?





Viz také pdf_close_image( ) , pdf_open_jpeg( ) , pdf_open_memory_image( ) , pdf_execute_image( ) , pdf_place_image( ) , pdf_put_image( ) .