-<xqdoc:xqdoc>
-<xqdoc:module type="library">
<xqdoc:uri>http://exist-db.org/xquery/image</xqdoc:uri>
-<xqdoc:comment>
<xqdoc:description>A module for performing operations on Images stored in the eXist db</xqdoc:description>
</xqdoc:comment>
</xqdoc:module>
-<xqdoc:functions>
-<xqdoc:function>
<xqdoc:name>get-width</xqdoc:name>
<xqdoc:signature>image:get-width($a as xs:base64Binary) xs:integer?</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Get's the Width of the image passed in $a, returning an integer of the images width in pixels or an empty sequence if $a is invalid.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>get-height</xqdoc:name>
<xqdoc:signature>image:get-height($a as xs:base64Binary) xs:integer?</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Get's the Height of the image passed in $a, returning an integer of the images Height in pixels or an empty sequence if $a is invalid.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>get-metadata</xqdoc:name>
<xqdoc:signature>image:get-metadata($a as xs:base64Binary, $b as xs:boolean) node()?</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Get's the metadta of the image passed in $a, returning the images XML metadata. When $b is true() metadata of the images native format is returned, otherwise common java ImageIO metadata is returned.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>scale</xqdoc:name>
<xqdoc:signature>image:scale($a as xs:base64Binary, $b as xs:integer*, $c as xs:string) xs:base64Binary?</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Scale the image passed in $a. $b specifies the maximum dimensions of the scaled image, if empty then the default values are 'maxheight = 100' and 'maxwidth = 100', the first value of $b is 'maxheight' and the second 'maxwidth'. $c specifies the mime-type of the image. The return value is the scaled image or an empty sequence if $a is invalid</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
-<xqdoc:function>
<xqdoc:name>thumbnail</xqdoc:name>
<xqdoc:signature>image:thumbnail($a as xs:anyURI, $b as xs:anyURI?, $c as xs:integer*, $d as xs:string?) xs:string*</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Get or generate thumbnails from the given database collection $a$b point to a location where the thumbnails should be created, $b can be a local path, with the prefix 'xmldb:' a absolute path within the database or with 'rel:' path relative to the given collection at $a.You can leave $b empty then the default is 'rel:/thumbs'. $c specifies the dimension of the thumbnails, if empty then the default values are 'maxheight = 100' and 'maxwidth = 100', the first value of $c is 'maxheight' and the second 'maxwidth'. $d is the prefix (if any) for the thumbnails</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
</xqdoc:functions>
</xqdoc:xqdoc>