pure go image rendering server. accepts a POST, stores the file on s3, and performs various manipulations on the images via GET string params
example upload
curl -i -F file=@photo2.jpg http://localhost:8080/upload
action: the action to perform. currently supports: crop: currently only cropping form the middle is supportedw: width in pixels of the cropped imageh: height in pixels of the cropped image
example request
http://localhost:8080/img/671e3346e405b99441bf4f0de7abc4dd?action=thumbnail&w=500&h=500
Use the config.toml file to config various variables of the server.
The AWS package expects a credentail file located at ~/.aws/credentials of ENV variables setup. Additional details here.