Skip to content

Latest commit

 

History

History
 
 

picasso-pollexor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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)
    .requestTransformer(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).