Refactor
Add java source path
Higher quality resizing algorithm
Use the better resizing algorithm.