More structured PIL-base64-pixbuf conversions: use PIL to provide auto-orienting of main image too.