Auto crop and reduce quality to fix http://stackoverflow.com/q/19434073/5549