W3C home > Mailing lists > Public > xproc-dev@w3.org > April 2014

Re: Image dimensions?

From: Romain Deltour <rdeltour@gmail.com>
Date: Tue, 29 Apr 2014 16:20:48 +0200
Message-Id: <24F0C38F-CBB4-414D-8E60-F28EFC55035B@gmail.com>
To: XProc Dev <xproc-dev@w3.org>
We do this by registering the following extension function to Saxon:



On 29 avr. 2014, at 16:08, Erik Siegel <erik@xatapult.nl> wrote:

> Hi all,
> Is there any way to find the dimensions of an image file from inside an XProc pipeline?
> So, for instance, I have a path to a jpg file in a variable. I want to know its dimensions in pixels (or whatever). Is there a trick or extension that does this?
> Regards,
> Erik Siegel

Received on Tuesday, 29 April 2014 14:21:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:17:19 UTC