diff --git a/.classpath b/.classpath index 10ab311..8c4724e 100644 --- a/.classpath +++ b/.classpath @@ -1,12 +1,8 @@ + - - - - - - - + + diff --git a/.project b/.project index 62b5098..1afc5e2 100644 --- a/.project +++ b/.project @@ -22,8 +22,17 @@ - org.eclipse.wst.common.project.facet.core.nature org.eclipse.jdt.core.javanature - net.sf.eclipsecs.core.CheckstyleNature + + + 1714053706544 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index d17b672..0000000 --- a/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,12 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.debug.lineNumber=generate -org.eclipse.jdt.core.compiler.debug.localVariable=generate -org.eclipse.jdt.core.compiler.debug.sourceFile=generate -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml deleted file mode 100644 index bc0009a..0000000 --- a/.settings/org.eclipse.wst.common.project.facet.core.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..38c7634 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.project.explorer.showNonJavaResources": false +} \ No newline at end of file diff --git a/LICENSE b/LICENSE index ff3cc75..b1a1f17 100644 --- a/LICENSE +++ b/LICENSE @@ -177,7 +177,7 @@ END OF TERMS AND CONDITIONS - Copyright 2016 andy bunce + Copyright 2024 andy bunce Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/lib/BaseX107.jar b/lib/BaseX107.jar new file mode 100644 index 0000000..3aa13e8 Binary files /dev/null and b/lib/BaseX107.jar differ diff --git a/lib/thumbnailator-0.4.20.jar b/lib/thumbnailator-0.4.20.jar new file mode 100644 index 0000000..501767b Binary files /dev/null and b/lib/thumbnailator-0.4.20.jar differ diff --git a/readme.md b/readme.md index 47690ae..8bbdc93 100644 --- a/readme.md +++ b/readme.md @@ -1,13 +1,13 @@ # expkg-zone58:image.thumbnailator An XQuery interface to the image thumbnail generator library -[thumbnailator](https://github.com/coobird/thumbnailator) for BaseX 9.4.5+. +[thumbnailator](https://github.com/coobird/thumbnailator) for BaseX 10+. Features size, scale, caption, rotate, flip, colorize, watermark. More details at [doc](doc/readme.md) ## Versions -* thumbnailator 8 requires Basex 9.4.5+ -* uses thumbnailator 4.13 +* thumbnailator 9 requires Basex 10+ +* uses thumbnailator 0.4.20 ## Usage Images are input and output as `xs:base64Binary` items. Inputs typically come from `fetch:binary` @@ -62,9 +62,11 @@ the thumbnailator jar included. See [releases](../../releases) for installation # Tests `test.xqm` script uses the BaseX [Unit module](http://docs.basex.org/wiki/Unit_Module) +# build + ## License -* ex-thumbnailator Copyright (c) 2013-2017, Andy Bunce. (Apache 2 License). +* ex-thumbnailator Copyright (c) 2013-2024, Andy Bunce. (Apache 2 License). * thumbnailator Copyright (c) Chris Kroells (MIT License). diff --git a/src/main/content/thumbnailator-0.4.13.jar b/src/main/content/thumbnailator-0.4.13.jar deleted file mode 100644 index 871f37d..0000000 Binary files a/src/main/content/thumbnailator-0.4.13.jar and /dev/null differ