ImageEn

Debugging Visualizers


ImageEn includes visualizers to help when debugging your applications. To enable the Visualizer, hover over an ImageEn object and click the Inspect button:


The following types are supported:
  TIEBitmap: View image and properties
  TImageEnView: View layers, image and properties
  TIELayer Types: Preview layer and its properties
  TIEMultiBitmap/TImageEnMView: View all images and properties
  TIOParams: View properties
  TColor/TRGB/TRGBA: View color as a human-readable value and click to preview



Image Tab

If the object contains an image or layer, you can preview it in the "Image" tab:


If there are multiple layers (TImageEnView) or images (TIEMultiBitmap or TImageEnMView), you can navigate between them.



Details Tab

The details tab specifies the properties of the object. You can configure which properties are displayed in the "Settings" tab. If a list of layers or images is displayed, you can double-click an item to preview it.



Settings Tab


  Live Update: Refreshing the visualizer can be slow with large images, so disabling live update will prevent updates until you click the "Refresh" button (to quickly toggle "Live Update" in other views, double-click the bottom toolbar).
  Suggested Position: By default, the visualizer is displayed at the position you click the Inspect button. Disable this option to force display at your preferred position
  Displayed Properties: Specify which properties are displayed for each object type. Functions can also be specified, e.g. IsGrayScale. Avoid methods that change the image or a slow to evaluate

Note:
 Visualizers require Delphi XE2 or newer
 You can disable visualizers in Delphi under Tools > Options, Debugger, Visualizers