Subject: [xsl] is it possible to resize an image to display smaller than the original From: David Ryan <dgdunk@xxxxxxxxx> Date: Sat, 31 Mar 2012 08:32:58 -0400 |
I have an image location name being passed in the xml. <Photo>/RPT/0000718.jpg</Photo> The actual image is 8" x 10" and I need to display it on the resulting .pdf in a size of 3" x 3" I am using the following to retrieve the file location and display the image: <xsl:element name="fo:external-graphic"> <xsl:attribute name="src">file:<xsl:value-of select="/data/Photo"/></xsl:attribute> </xsl:element> I guess I have two questions. 1. Is it possible to resize the image from 8x10 to 3x3? I've only been able to crop it thus far. 2. Is the way I am retrieving/processing the image filename the best/most efficient way to do so? I am using <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> Thank you.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Similarity metric in XSLT, Markus Flatscher | Thread | Re: [xsl] is it possible to resize , Martin Honnen |
[xsl] Re: Similarity metric in XSLT, Martin Holmes | Date | Re: [xsl] is it possible to resize , Martin Honnen |
Month |