[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Image size with XSL?

Subject: Re: Re: Image size with XSL?
From: "Flynn, Peter pflynn@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Dec 2016 13:54:44 -0000
Re:  Re: Image size with XSL?
On 19/12/16 21:01, Roger L. Cauvin roger@xxxxxxxxxx wrote:
> Isn't CSS designed (and better suited) to deal with this sort of challenge?
>
> Roger
>
> -----Original Message-----
> From: Mark Wilson
[...]
> 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?

I would probably write a small script that uses the identify command
from ImageMagick, and then snips out the x and y size and creates an XML
file that my XSLT can read as a lookup.

///Peter

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.