Added aspect ratio preserving to Qt image example.