PDF_open_png

(ismeretlen PHP verzió)

PDF_open_png --  Opens a PNG image

Description

int pdf_open_png (int pdf, string png_file)

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

Példa 1. Including a PNG image

  1 
  2 <?php
  3 $im = PDF_open_png ($pdf, "test.png");
  4 pdf_place_image ($pdf, $im, 100, 100, 1);
  5 pdf_close_image ($pdf, $im);
  6 ?>
  7           

See also PDF_close_image(), PDF_open_jpeg(), PDF_open_gif(), PDF_open_memory_image(), PDF_execute_image(), PDF_place_image(), PDF_put_image().