Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (16 sloc) 1.01 KB


An example Dropwizard app that uses photon-core to process Twitter avatars on the fly.

Example transformations

The original image

Resized to a width of 200px (;w=200 added to the original URL)
200px Wide

Rotated 180 degrees (;r=180 added to the original URL)
Rotated 180 degrees

A crop of just the face (;c=130,60,200,200 added to the original URL)
Cropped closer

Cropped to the face, rotated, then resized
Resized, cropped, and rotated

Try it out on your own avatar:{your-twitter-user-name}