Conveniently produce authorized imgflo URLs on the JVM.
Graph graph = new Graph.Passthrough(100, 100);
String input = "https://example.org/image.png";
String result = imgFloUrl.build(graph, input);
Experimental, only supports passthrough graph without parameters
$ git clone https://github.com/the-grid/imgflo-url-java.git
$ cd imgflo-url-java
$ export IMGFLO_SERVER=https://example.org
$ export IMGFLO_KEY=example-key
$ export IMGFLO_SECRET=example-secret
$ ./gradlew :standalone:jar
$ java -jar standalone/build/libs/standalone.jar "http://example.org/my-image.jpg"
Find the latest version.
compile 'io.thegrid.imgflourl:imgflourl:[latest-version]'
<dependency>
<groupId>io.thegrid.imgflourl</groupId>
<artifactId>imgflourl</artifactId>
<version>[latest version]</version>
</dependency>