Base64 image support

This adds support for parsing data: urls with base64 encoded png or jpg images.