Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 779 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 779 Bytes

Picasso Pollexor Request Transformer

A request transformer which uses a remote Thumbor install to perform image transformation on the server.

Usage

Create a PollexorRequestTransformer using the remote host and optional encryption key.

RequestTransformer transformer =
    new PollexorRequestTransformer("http://example.com", "secretpassword");

Pass the transformer when creating a Picasso instance.

Picasso p = new Picasso.Builder(context)
    .setRequestTransformer(transformer)
    .build();

Note: This can only be used with an instance you create yourself. You cannot set a request transformer on the global singleton instance (Picasso.with).