Command line image resizer