Resizer class, resizes image (jpg, png, gif) to FIT or STRICT to new size