Re: [xsl] Image size with XSL?

Subject: Re: [xsl] Image size with XSL?
From: "John Lumley john.lumley@xxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 18 Dec 2016 20:14:14 -0000
If your XSLT processor supports EXPath Binary (Saxon-PE/EE does ), then you
can use the technique illustrated at
http://expath.org/spec/binary#example%E2%80%93JPEG.
Alternatively if you can execute Java functions as extension functions, then
are quite a few possibilities through that route.

John Lumley

> On 18 Dec 2016, at 19:54, Mark Wilson mark@xxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> I would like to add the placement-index to the XML data source
programmatically. Is there a way to obtain the height or width of a jpeg image
from the file itself (image.jpg, for instance) using XSLT? Or, can someone
suggest another way to do this programmatically?

Current Thread