graphicsize.extension.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <refentry xmlns="http://docbook.org/ns/docbook"
  2. xmlns:xlink="http://www.w3.org/1999/xlink"
  3. xmlns:xi="http://www.w3.org/2001/XInclude"
  4. xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
  5. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. version="5.0" xml:id="graphicsize.extension">
  7. <refmeta>
  8. <refentrytitle>graphicsize.extension</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>graphicsize.extension</refname>
  13. <refpurpose>Enable the getWidth()/getDepth() extension functions</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="graphicsize.extension.frag">
  17. <xsl:param name="graphicsize.extension" select="1"/>
  18. </src:fragment>
  19. </refsynopsisdiv>
  20. <refsection><info><title>Description</title></info>
  21. <para>If non-zero (and if <parameter>use.extensions</parameter> is non-zero
  22. and if you're using a processor that supports extension functions), the
  23. <function>getWidth</function> and <function>getDepth</function> functions
  24. will be used to extract image sizes from graphics.</para>
  25. <para>The main supported image formats are GIF, JPEG, and PNG. Somewhat cruder
  26. support for EPS and PDF images is also available.</para>
  27. </refsection>
  28. </refentry>