1
0
mirror of https://github.com/fadden/6502bench.git synced 2025-07-26 20:25:54 +00:00

Add visualization sets to exported HTML

We now generate GIF images for visualizations and add inline
references to them in the HTML output.

Images are scaled using the HTML img properties.  This works well
on some browsers, but others insist on "smooth" scaling that blurs
out the pixels.  This may require a workaround.

An extra blank line is now added above visualizations.  This helps
keep the image and data visually grouped.

The Apple II bitmap test project was updated to have a visualization
set with multiple images at the top of the file.
This commit is contained in:
Andy McFadden
2019-12-13 16:52:50 -08:00
parent 0b0944e0fc
commit 5d9b9753e8
13 changed files with 187 additions and 8 deletions

View File

@@ -47,7 +47,8 @@ namespace SourceGen {
public ReadOnlyDictionary<string, object> VisGenParams { get; private set; }
/// <summary>
/// Cached reference to 2D image, useful for thumbnails. Not serialized.
/// Cached reference to 2D image, useful for thumbnails. Not serialized. This always
/// has an image reference; in times of trouble it will point at BROKEN_IMAGE.
/// </summary>
/// <remarks>
/// Because the underlying data never changes, we only need to regenerate the