Opened 6 years ago

Closed 6 years ago

#4 closed enhancement (fixed)

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

Reported by: leppa Owned by: leppa
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 6 years ago by leppa

  • Milestone changed from next-release-0.1.x to 0.1.4

Planning to implement in v0.1.4.

comment:2 Changed 6 years ago by leppa

  • Component changed from general to output

Changed component to output.

comment:3 Changed 6 years ago by leppa

  • Resolution set to fixed
  • Status changed from new to closed

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.