xsl-list
[Top] [All Lists]

Re: [xsl] Image size with XSL?

2016-12-18 14:28:54
Hi John,
I use the free version of Saxon 96 (but also have Oxygen, which may have some other processor). Will your citation work with that? (I am very much a novice with XSLT). Went to your citation and was pleased to see the ASN1 reference -- I developed several C++/ASN1/BER applications for Z30.50 back in the day (I am 77 now). I will look over the stuff and see if I can do anything with it.
Thanks,
Mark

On 12/18/2016 1:14 PM, John Lumley john(_dot_)lumley(_at_)btinternet(_dot_)com 
wrote:
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 <mailto:mark(_at_)knihtisk(_dot_)org> <xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com <mailto: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 <-list/2754769> (by email <>)
--~----------------------------------------------------------------
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>