Added logging for error condition, added sample SVG and image.
Merge branch '2.x' into clip-path

* 2.x:
  Added logging for error condition, added sample SVG and image.