Go to file
Andy Bunce b91d5adfcb fix namespace 2013-08-04 23:32:29 +01:00
dist fix namespace 2013-08-04 23:32:29 +01:00
src fix namespace 2013-08-04 23:32:29 +01:00
LICENSE initial 2013-06-10 22:35:14 +01:00
build.xq initial 2013-06-10 22:35:14 +01:00
package.xml 0.4.5 2013-08-04 23:23:18 +01:00
readme.md fixes 2013-06-11 22:03:12 +01:00

readme.md

apb.image.thumbnailator

An XQuery interface to the thumbnail generator library thumbnailator

BaseX 7.7 or greater is required.

Installation

The library is packaged in the EXpath xar format with the thumbnailator jar included. It can be installed into the BaseX repository by executing the command:

repo:install('http://apb2006.github.io/thumbnailator/dist/thumbnailator.zar')

Usage

import module namespace t="apb.image.thumbnailator";
t:make("/tmp/pic.jpg","/tmp/small.jpg",120,120)

Tests

The test.xq script uses the BaseX Unit module todo

explore java binding limits and fluent interface