A Jakarta EE 10 web application for resizing images via a wrapper to ImageMagick, developed for use by Presenter.

git clone https://github.com/JeffersonLab/resize
cd resize
docker compose up
http://localhost:8080/resize
This application requires a Java 17+ JVM and standard library to run, plus a Jakarta EE 10 application server (developed with Wildfly).
Set the path to ImageMagick mogrify executable via MOGRIFY environment variable.
This project is built with Java 21 (compiled to Java 17 bytecode), and uses the Gradle 9 build tool to automatically download dependencies and build the project from source:
git clone https://github.com/JeffersonLab/resize
cd resize
gradlew build
Note: If you do not already have Gradle installed, it will be installed automatically by the wrapper script included in the source
Note for JLab On-Site Users: Jefferson Lab has an intercepting proxy
At JLab this app is found internally at wildfly5.acc.jlab.org/resize and at wildflytest5.acc.jlab.org/resize. The ace.jlab.org and acctest.acc.jlab.org proxy servers do not proxy this internal only service. A deploy script is provided to automate wget and deploy. Example:
/opt/wildfly/cd/deploy.sh resize v1.2.3
JLab Internal Docs: RHEL9 Wildfly
Content type
Image
Digest
sha256:f38130371…
Size
1.2 GB
Last updated
7 months ago
docker pull jeffersonlab/resize