Simple image resizer for android resource images.