Added logging for error condition, added sample SVG and image.