expkg-zone58:image.thumbnailator library module
- Summary
- Generate image thumbnails using the thumbnailator library.
- Tags
-
See also:
https://github.com/coobird/thumbnailator
Author: andy bunce
Version: 0.5
Functions
thumbnails:scale
thumbnails:scale( source
as
xs:base64Binary, scale
as
xs:double ) as
xs:base64Binary
thumbnails:scale( source
as
xs:base64Binary, xscale
as
xs:double, yscale
as
xs:double ) as
xs:base64Binary
- source as xs:base64Binary base64Binary (streamed?) e.g from `fetch:binary`
- scale as xs:double
- xs:base64Binary: the thumbnail
thumbnails:size
thumbnails:size( source
as
xs:base64Binary, size
as
xs:integer ) as
xs:base64Binary
thumbnails:size( source
as
xs:base64Binary, width
as
xs:integer, height
as
xs:integer ) as
xs:base64Binary
- source as xs:base64Binary base64Binary (streamed?) e.g from `fetch:binary`
- size as xs:integer
- xs:base64Binary: base64Binary for thumbnail
thumbnails:task
thumbnails:task( source
as
xs:base64Binary, task
as
element(thumbnail) ) as
xs:base64Binary
- source as xs:base64Binary base64Binary (streamed?) e.g from `fetch:binary`
- task as element(thumbnail) XML parameters <task><size width="100" ..
- xs:base64Binary: the thumbnail
thumbnails:validate
thumbnails:validate( src
as
item()* ) as
empty-sequence()
- src as item()* XML parameters <thumbnail><size width="100" ..
- empty-sequence(): empty-sequence or error
thumbnails:validation-report
thumbnails:validation-report( src
as
item()* ) as
element(report)
- src as item()* XML parameters <thumbnail><size width="100" ..
- element(report): validation report
Namespaces
The following namespaces are defined:
| Prefix | Uri |
|---|---|
| thumbnails | expkg-zone58:image.thumbnailator |
| Thumbs | org.expkgzone58.image.Thumbs |
Original Source Code
Not available