Re: Image dimensions?

We do this by registering the following extension function to Saxon:

https://github.com/daisy/pipeline-modules-common/blob/master/image-utils/src/main/java/org/daisy/saxon/functions/image/ImageDimensions.java

Romain.

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