Scripting Resources for DigitalMicrograph™

banner

Dave Mitchell's DigitalMicrograph™ Scripting Website

Home | Scripts | Examples | Functions | Recent Updates | Tutorials | Resources | Publications | Consulting | Projects | Contact & Bio |PyJEM| Search

 

Display Tools
Function
A suite of tools for manipulating images.
Version
version:20141122, v2.1
Author
D. R. G. Mitchell
Acknowledgements
Bernhard Schaffer and Ian Allen for useful suggestions on improving this script.
Comments
This version has been updated to fix some minor bugs. It has also been made dockable, so that it can be docked in the control panels on the left or right hand sides of the screen. In order to make the control palette dockable, set the 'makemedockable' flag at the start of the script to 1 and then install the script as a library. The default for the script is the normal floating dialog behaviour ('makemedockable=0'). If using it in normal floating dialog mode, simply install it in the menu of your choosing, and call it up when needed. Detailed instructions on configuring and installing can be found at the start of the script.
System Requirements
Tested with GMS 1.9 and GMS 2
Known Issues
The layout of the dialog (number of columns and rows of buttons) can be changed by launching the script with the ALT key held down. This works fine when the script is used in the normal floating dialog mode. However, if the script is to be used as a dockable control panel (and is installed as a library), then the script is invoked automatically when DigitalMicrograph is launched. Changing the panel layout cannot then be invoked by using ALT. In the the dockable form, the only sensible layout is three columns of buttons. If for any reason a different format is present, edit the relevant tags in the Global Info - see the start of the script for more information.
Supported
Yes
Included Files
Display Tools script.
Source Code

Download the script, which is extensive.