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">
8 <refentrytitle>graphicsize.extension</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
12 <refname>graphicsize.extension</refname>
13 <refpurpose>Enable the getWidth()/getDepth() extension functions</refpurpose>
17 <src:fragment xml:id="graphicsize.extension.frag">
18 <xsl:param name="graphicsize.extension" select="1"/>
22 <refsection><info><title>Description</title></info>
24 <para>If non-zero (and if <parameter>use.extensions</parameter> is non-zero
25 and if you're using a processor that supports extension functions), the
26 <function>getWidth</function> and <function>getDepth</function> functions
27 will be used to extract image sizes from graphics.</para>