xsl-list
[Top] [All Lists]

Re: [xsl] Image size with XSL?

2016-12-18 14:14:19
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(_at_)knihtisk(_dot_)org 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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?
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>