[PHPDOC] cvs: phpdoc /en/functions/ pdf.xml From: Sterling Hughes (sterling <email protected>)
Date: 05/26/00

sterling Thu May 25 22:24:16 2000 EDT

  Modified files:
    /phpdoc/en/functions pdf.xml
  Log:
  Add pdf_open_png.
  
  
  
Index: phpdoc/en/functions/pdf.xml
diff -u phpdoc/en/functions/pdf.xml:1.15 phpdoc/en/functions/pdf.xml:1.16
--- phpdoc/en/functions/pdf.xml:1.15 Thu May 18 00:04:19 2000
+++ phpdoc/en/functions/pdf.xml Thu May 25 22:24:16 2000
@@ -1958,6 +1958,54 @@
    </refsect1>
   </refentry>
 
+ <refentry id="function.pdf-open-png">
+ <refnamediv>
+ <refname>PDF_open_png</refname>
+ <refpurpose>
+ Opens a PNG image
+ </refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>int
+ <function>pdf_open_png</function>
+ </funcdef>
+ <paramdef>int
+ <parameter>pdf</parameter>
+ </paramdef>
+ <paramdef>string
+ <parameter>png_file</parameter>
+ </paramdef>
+ </funcsynopsis>
+ <para>
+ The <function>PDF_open_png</function> function opens an image stored
+ in the file with the name <parameter>filename</parameter>.
+ The format of the image has to be png. The function returns a pdf
+ image identifier.
+ <example>
+ <title>Including a PNG image</title>
+ <programlisting>
+&lt;?php
+$im = PDF_open_gif($pdf, "test.png");
+pdf_place_image($pdf, $im, 100, 100, 1);
+pdf_close_image($pdf, $im);
+?>
+ </programlisting>
+ </example>
+ </para>
+ <para>
+ See also <function>PDF_close_image</function>,
+ <function>PDF_open_jpeg</function>,
+ <function>PDF_open_gif</function>,
+ <function>PDF_open_memory_image</function>,
+ <function>PDF_execute_image</function>,
+ <function>PDF_place_image</function>,
+ <function>PDF_put_image</function>.
+ </para>
+ </refsect1>
+ </refentry>
+
   <refentry id="function.pdf-open-memory-image">
    <refnamediv>
     <refname>PDF_open_memory_image</refname>
@@ -1995,6 +2043,7 @@
      See also <function>PDF_close_image</function>,
               <function>PDF_open_jpeg</function>,
               <function>PDF_open_gif</function>,
+ <function>PDF_open_png</function>
               <function>PDF_execute_image</function>,
               <function>PDF_place_image</function>,
               <function>PDF_put_image</function>.</para>
@@ -2021,6 +2070,7 @@
     <para>
      See also <function>PDF_close_image</function>,
               <function>PDF_open_gif</function>,
+ <function>PDF_open_png</function>,
               <function>PDF_open_memory_image</function>,
               <function>PDF_execute_image</function>,
               <function>PDF_place_image</function>,