Simple Image Resizer using Qt4 and exiv2