refactor resize lib
fix rotation logic
preserve data url file type
docs
0.0.2