readme.md
This commit is contained in:
parent
3376e6e4db
commit
cce269b9fc
6
dist/doc/thumbnailator.xqm.xml
vendored
6
dist/doc/thumbnailator.xqm.xml
vendored
@ -1,6 +1,6 @@
|
||||
<xqdoc:xqdoc xmlns:xqdoc="http://www.xqdoc.org/1.0">
|
||||
<xqdoc:control>
|
||||
<xqdoc:date>2017-04-21T14:41:43.648+01:00</xqdoc:date>
|
||||
<xqdoc:date>2017-04-21T15:03:58.643+01:00</xqdoc:date>
|
||||
<xqdoc:version>1.1</xqdoc:version>
|
||||
</xqdoc:control>
|
||||
<xqdoc:module type="library">
|
||||
@ -79,7 +79,7 @@
|
||||
<xqdoc:custom tag="result">base64Binary for thumbnail</xqdoc:custom>
|
||||
</xqdoc:comment>
|
||||
<xqdoc:name>thumbnails:task</xqdoc:name>
|
||||
<xqdoc:signature>declare function thumbnails:task($source as xs:base64Binary, $task as element(task)) as xs:base64Binary</xqdoc:signature>
|
||||
<xqdoc:signature>declare function thumbnails:task($source as xs:base64Binary, $task as element(thumbnail)) as xs:base64Binary</xqdoc:signature>
|
||||
<xqdoc:parameters>
|
||||
<xqdoc:parameter>
|
||||
<xqdoc:name>source</xqdoc:name>
|
||||
@ -87,7 +87,7 @@
|
||||
</xqdoc:parameter>
|
||||
<xqdoc:parameter>
|
||||
<xqdoc:name>task</xqdoc:name>
|
||||
<xqdoc:type>element(task)</xqdoc:type>
|
||||
<xqdoc:type>element(thumbnail)</xqdoc:type>
|
||||
</xqdoc:parameter>
|
||||
</xqdoc:parameters>
|
||||
<xqdoc:return>
|
||||
|
Binary file not shown.
@ -13,5 +13,8 @@
|
||||
<version num="4.1.4">
|
||||
<!-- generated: {fn:current-dateTime()} -->
|
||||
</version>
|
||||
<version num="4.1.5">
|
||||
<!-- generated: {fn:current-dateTime()} -->
|
||||
</version>
|
||||
</pkg>
|
||||
</repo>
|
@ -39,7 +39,7 @@ let $task:=
|
||||
return fetch:binary("http://images.metmuseum.org/CRDImages/ep/original/DT46.jpg")
|
||||
=>t:task($task)
|
||||
```
|
||||
A schema for this is [provided](./src/content/task.xsd)
|
||||
A schema for this is [provided](./master/src/main/content/task.xsd)
|
||||
|
||||
## Installation
|
||||
The library is packaged in the [EXpath](http://expath.org/spec/pkg) xar format with
|
||||
|
@ -17,6 +17,6 @@ let $task:=<thumbnail>
|
||||
</thumbnail>
|
||||
(: let $task:=doc("rotate.xml")/task :)
|
||||
let $x:=fetch:binary($remote)
|
||||
(: let $r:=Q{java:org.expkgzone58.image.Thumbs}size($x,xs:int(40),xs:int(40)) :)
|
||||
let $r:=Q{java:org.expkgzone58.image.Thumbs}task($x,$task)
|
||||
let $r:=Q{java:org.expkgzone58.image.Thumbs}size($x,xs:int(40),xs:int(40))
|
||||
(: let $r:=Q{java:org.expkgzone58.image.Thumbs}task($x,$task) :)
|
||||
return file:write-binary($picr,$r)
|
@ -1,2 +1,2 @@
|
||||
import module namespace t="expkg-zone58:image.thumbnailator";
|
||||
t:validate("C:/Users/andy/git/ex-thumbnailator/src/test/sample-task.xml")
|
||||
t:validation-report("C:/Users/andy/git/ex-thumbnailator/src/test/sample-task.xml")
|
Loading…
Reference in New Issue
Block a user