diff --git a/dist/thumbnailator.zar b/dist/thumbnailator.zar new file mode 100644 index 0000000..c4e5b4a Binary files /dev/null and b/dist/thumbnailator.zar differ diff --git a/dist/xqdoc.xml b/dist/xqdoc.xml new file mode 100644 index 0000000..72ccfdb --- /dev/null +++ b/dist/xqdoc.xml @@ -0,0 +1,96 @@ + + + 2013-06-11T22:00:18.42+01:00 + 1.1 + + + apb.image.thumbnailator + thumbnailator.xqm + + Generate thumbnails using http://code.google.com/p/thumbnailator/ + andy bunce + + + + + + + + + + + + + + fromFilenames + declare function fromFilenames($file as xs:string) + + + file + xs:string + + + + + sourceRegion + declare function sourceRegion($x as xs:integer, $y as xs:integer, $width as xs:integer, $height as xs:integer) + + + x + xs:integer + + + y + xs:integer + + + width + xs:integer + + + height + xs:integer + + + + + size + declare function size($builder, $width as xs:int, $height as xs:int) + + + builder + + + width + xs:int + + + height + xs:int + + + + + make + declare function make($src as xs:string, $dest as xs:string, $width as xs:integer, $height as xs:integer) + + + src + xs:string + + + dest + xs:string + + + width + xs:integer + + + height + xs:integer + + + + + \ No newline at end of file