Skip to content

Unable to convert SVG(C3 Charts) into word document #16

@nkdweb

Description

@nkdweb

I'm using this plugin to convert web page into word document and it is working great for static html and images.

But when come to advance elements like SVG (C3 Charts), it fails in converting that SVG into word document. So please find my work around for the same

  • Finding SVG elements
  • Create canvas element
  • Draw canvas images
  • Converting SVG into PNG data URI.

These are the steps successfully implemented with the help of saveSvgAsPng.js plugin.

But i'm facing issue in appending that png datauri into MHTML blob. Please advice me what i'm doing wrong and suggest me the solution to achieve this.

Jsfiddle link for your reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions