- From: Norman Walsh <ndw@nwalsh.com>
- Date: Tue, 29 Apr 2014 16:24:30 -0500
- To: XProc Dev <xproc-dev@w3.org>
Received on Tuesday, 29 April 2014 21:25:04 UTC
Erik Siegel <erik@xatapult.nl> writes: > Is there any way to find the dimensions of an image file from inside an XProc > pipeline? There's a metadata-extractor step that does this: <p:declare-step type="cx:metadata-extractor"> <p:output port="result"/> <p:option name="href" cx:type="xsd:anyURI"/> </p:declare-step> Unfortunately, it's a little fiddly to setup because the underlying library is transitioning from one API to another. There's also a Saxon extension function you can run from XSLT that will do it. It's part of the DocBook stylesheets. Be seeing you, norm -- Norman Walsh Lead Engineer MarkLogic Corporation Phone: +1 512 761 6676 www.marklogic.com
Received on Tuesday, 29 April 2014 21:25:04 UTC