Math

Answered

How to export pictures in svg format!

Hello!

        I need svg format, inkEditor.export_(inkEditor.getRootBlock(), path, MimeType.PNG, imageDrawer);Through this method, png images can be saved normally, but cannot be saved as svg images.

Mathematical formula, I want to export as svg picture.


Best Answer

Dear 刚 陈,

thank you for contacting us and your question.

Currently, I recommend you refer to the list of available exports https://developer.myscript.com/docs/interactive-ink/1.5/overview/import-and-export-formats/#available-exports

Basically, in a Math PART using the native iink SDK, you can use the following exports: Latex, MathML, JIIX, PNG JPEG

In order to export as svg, the solution is that you export as JIIX, and re-create a SVG file by yourself, referring to the SVG specification: https://www.w3.org/TR/SVG2/

Best regards,

Olivier

1 Comment

Answer

Dear 刚 陈,

thank you for contacting us and your question.

Currently, I recommend you refer to the list of available exports https://developer.myscript.com/docs/interactive-ink/1.5/overview/import-and-export-formats/#available-exports

Basically, in a Math PART using the native iink SDK, you can use the following exports: Latex, MathML, JIIX, PNG JPEG

In order to export as svg, the solution is that you export as JIIX, and re-create a SVG file by yourself, referring to the SVG specification: https://www.w3.org/TR/SVG2/

Best regards,

Olivier