Opened 13 years ago

Closed 13 years ago

#4 closed enhancement (fixed)

Add support for embedded base64 encoded images when saving solution as HTML

Reported by: Oleksii Serdiuk Owned by: Oleksii Serdiuk
Priority: minor Milestone: 0.1.4
Component: output Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: Any

Description

Add an option to save solution graph as embedded base64 encoded image when saving solution as HTML (using data URI scheme). This would make a possibility to create a self-contained HTML files with the solution that wouldn't depend on external images. The only downfall of this is that data URI scheme is unsupported on Internet Explorer 7 or earlier and Internet Explorer 8 has limitations on the data size (32 KiB). Other common browsers support data URI scheme fine.

Change History (3)

comment:1 Changed 13 years ago by Oleksii Serdiuk

Milestone: next-release-0.1.x0.1.4

Planning to implement in v0.1.4.

comment:2 Changed 13 years ago by Oleksii Serdiuk

Component: generaloutput

Changed component to output.

comment:3 Changed 13 years ago by Oleksii Serdiuk

Resolution: fixed
Status: newclosed

In [162/tspsg]:

  • NEW: Solution graph size can now be controlled using Output/GraphWidth? setting in tspsg.ini (see ticket:8). Value is in centimeters.
  • NEW: Support for embedded base64 encoded images when saving solution as HTML (closed ticket:4).
  • Renamed Output/ShowGraph? setting to Output/GenerateGraph?.
  • Made some other small tweaks and fixes.
  • FIX: Solution graph is still exported to HTML when graph generation is disabled (fixed bug:9).
Note: See TracTickets for help on using tickets.