stk:image.get-final-size(function)

Returns the size of an image after a scaling filter has been applied. This function is normally not used directly.

xs:double*stk:image.get-final-size
  1. element()image
  2. xs:string?scaling
  3. xs:string?size
  4. xs:double?available-width

Examples

Input

<xsl:variable name="requested-scaled-width" as="xs:double" select="stk:image.get-final-size($image, $scaling, (), ())[1]"/>

Parameters

image
The source image element
Type
element()
scaling
The scaling filter
Type
xs:string?
size
Preset size scaling
Type
xs:string?
available-width
Type
xs:double?