diff --git a/SourceGen/RuntimeData/Help/visualization.html b/SourceGen/RuntimeData/Help/visualization.html
index c084789..4407b2b 100644
--- a/SourceGen/RuntimeData/Help/visualization.html
+++ b/SourceGen/RuntimeData/Help/visualization.html
@@ -132,7 +132,8 @@ arrangements are common. The script defines three generators:
bitmaps. This is intended for hi-res fonts, which are typically
8 bytes per entry, stored one after another. These are always
converted as monochrome, and have a 1-pixel transparent gap
- between elements.
+ between elements. (This also works for Apple /// fonts, but
+ currently ignores the high bit in each byte.)
Hi-Res Screen Image - used for 8KiB screen images. The
data is linearized and converted to a 280x192 bitmap. Because
images are relatively large, the generator does not require them
diff --git a/SourceGen/WpfGui/EditVisualization.xaml b/SourceGen/WpfGui/EditVisualization.xaml
index 8bea361..683f024 100644
--- a/SourceGen/WpfGui/EditVisualization.xaml
+++ b/SourceGen/WpfGui/EditVisualization.xaml
@@ -97,6 +97,7 @@ limitations under the License.
+
@@ -136,7 +137,12 @@ limitations under the License.
RenderOptions.BitmapScalingMode="NearestNeighbor"/>
-
+
+
+
+
+
+
@@ -145,7 +151,7 @@ limitations under the License.
-
+
@@ -157,7 +163,7 @@ limitations under the License.
-
+
diff --git a/SourceGen/WpfGui/EditVisualization.xaml.cs b/SourceGen/WpfGui/EditVisualization.xaml.cs
index b329239..4622ba1 100644
--- a/SourceGen/WpfGui/EditVisualization.xaml.cs
+++ b/SourceGen/WpfGui/EditVisualization.xaml.cs
@@ -23,6 +23,7 @@ using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Imaging;
+
using Asm65;
using PluginCommon;
@@ -70,6 +71,7 @@ namespace SourceGen.WpfGui {
}
private string mTagString;
+ // Text turns red on error.
public Brush TagLabelBrush {
get { return mTagLabelBrush; }
set { mTagLabelBrush = value; OnPropertyChanged(); }
@@ -112,6 +114,13 @@ namespace SourceGen.WpfGui {
///
public string LastPluginMessage { get; set; }
+ // Bitmap width/height indicator.
+ public string BitmapDimensions {
+ get { return mBitmapDimensions; }
+ set { mBitmapDimensions = value; OnPropertyChanged(); }
+ }
+ private string mBitmapDimensions;
+
///
/// ItemsSource for the ItemsControl with the generated parameter controls.
///
@@ -417,6 +426,7 @@ namespace SourceGen.WpfGui {
VisualizationItem item = (VisualizationItem)visComboBox.SelectedItem;
+ BitmapDimensions = "?";
if (!IsValid || item == null) {
previewImage.Source = sBadParamsImage;
} else {
@@ -448,6 +458,8 @@ namespace SourceGen.WpfGui {
IsValid = false;
} else {
previewImage.Source = Visualization.ConvertToBitmapSource(vis2d);
+ BitmapDimensions = string.Format("{0}x{1}",
+ previewImage.Source.Width, previewImage.Source.Height);
}
}