imgproxy

fluently generate asset urls for img-proxy within java

License

License

GroupId

GroupId

io.rocketbase.asset
ArtifactId

ArtifactId

imgproxy
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

imgproxy
fluently generate asset urls for img-proxy within java
Project URL

Project URL

https://github.com/rocketbase-io/imgproxy-java/
Source Code Management

Source Code Management

https://github.com/rocketbase-io/imgproxy-java/tree/master/

Download imgproxy

How to add to project

<!-- https://jarcasting.com/artifacts/io.rocketbase.asset/imgproxy/ -->
<dependency>
    <groupId>io.rocketbase.asset</groupId>
    <artifactId>imgproxy</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.rocketbase.asset/imgproxy/
implementation 'io.rocketbase.asset:imgproxy:0.1.0'
// https://jarcasting.com/artifacts/io.rocketbase.asset/imgproxy/
implementation ("io.rocketbase.asset:imgproxy:0.1.0")
'io.rocketbase.asset:imgproxy:jar:0.1.0'
<dependency org="io.rocketbase.asset" name="imgproxy" rev="0.1.0">
  <artifact name="imgproxy" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.rocketbase.asset', module='imgproxy', version='0.1.0')
)
libraryDependencies += "io.rocketbase.asset" % "imgproxy" % "0.1.0"
[io.rocketbase.asset/imgproxy "0.1.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.google.guava : guava jar 28.1-jre

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.10

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

imgproxy-java

logo

Build Status Maven Central

fluently generate asset urls for img-proxy within java

example usage

// simple unsigned 
String url = Signature.of(new SignatureConfiguration(BASE_URL))
                .size(300, 300)
                .url(SOURCE_URL)


// advanced with key + salt
Signature signature = Signature.of(new SignatureConfiguration(imgproxyProperties.getBaseurl(),
                    imgproxyProperties.getKey(),
                    imgproxyProperties.getSalt()));

signature.resize(ResizeType.fit, 300, 300, true);
String url = signature.url("s3://bucket-name/" + assetReference.getUrlPath());
io.rocketbase.asset

rocketbase.io software productions GmbH

We are a bunch of passionate developers with a major in Java and Web Technologies.

Versions

Version
0.1.0