xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Litton, Tom - CEPM" <Tom.Lit...@cepm-us.com>
Subject Retrieving the image height.
Date Wed, 02 Feb 2005 15:39:34 GMT
Hello all,

What is the most efficient way of retrieving the image height from the DOM object?

I've implemented my own transcoder which delegates to one of several other transcoders.  However,
before the delegation takes place I need to do some calculations based on  the height of the
image.  

Currently i'm calling transcode(document, s, transcoderoutput) on the super class (SVGAbstractTranscoder),
but that seems like a very inefficient thing to do just to get the height.

Thanks,

Tom

Mime
View raw message