]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed bug where ximg:getDepth was using $nominal.image.width instead of depth.
authorBob Stayton <bobs@sagehill.net>
Fri, 6 Aug 2004 15:45:35 +0000 (15:45 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 6 Aug 2004 15:45:35 +0000 (15:45 +0000)
xsl/html/graphics.xsl

index 613ab501daea279e7232af278542c47da21794c7..c7738a23284bc4debac7899c71401d42196bd581 100644 (file)
           </xsl:when>
           <xsl:when test="function-available('ximg:getDepth')">
             <xsl:value-of select="ximg:getDepth(ximg:new($filename),
-                                                $nominal.image.width)"/>
+                                                $nominal.image.depth)"/>
           </xsl:when>
           <xsl:otherwise>
             <xsl:value-of select="$nominal.image.depth"/>