Commands {
    adjust_individually {
        Library <image_commands.dll>
        Factory_name <create_adjust_individually_cmd>
        Label <Adjust images individually>
        ToolbarLabel<Indiv.>
        Tips <Toggle between adjusting the entire collection and adjusting images/stacks individually>
        Pixmap <toolbar\adjust_images_individually.bmp>
        PixmapHigh <toolbar\high\adjust_images_individually.bmp>
        AcceleratorKey <n>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+n>
    }
    crop_image {
	Library <image_commands.dll>
	Factory_name <create_crop_control_ovl_cmd>
	Label <Crop image>
        ToolbarLabel<Crop>
	Tips <Cut out part of image>
        Pixmap <toolbar\crop_image.bmp>
        PixmapHigh <toolbar\high\crop_image.bmp>
    }
    toggle_crop {
	Library <image_commands.dll>
	Factory_name <create_toggle_crop_cmd>
	Label <Toggle crop state>
        ToolbarLabel<Toggle>
	Tips <Toggle between previous image state and the latest crop>
	AcceleratorKey <b>
	AcceleratorModifier <SI_CTRL>
	AcceleratorLabel <Ctrl+b>
        Pixmap <toolbar\crop_togle.bmp>
        PixmapHigh <toolbar\high\crop_togle.bmp>
    }
    reset_crop {
	Library <image_commands.dll>
	Factory_name <create_reset_crop_cmd>
	Label <Reset cropping>
        ToolbarLabel<Reset>
	Tips <Remove the cropping of the image>
        Pixmap <toolbar\reset_crop.bmp>
        PixmapHigh <toolbar\high\reset_crop.bmp>
    }
    auto_crop {
	Library <image_commands.dll>
	Factory_name <create_auto_crop_cmd>
	Label <Automatic crop>
        ToolbarLabel<Auto>
	Tips <Crop image automatically>
	AcceleratorKey <a>
	AcceleratorModifier <SI_CTRL>
	AcceleratorLabel <Ctrl+a>
        Pixmap <toolbar\crop_auto.bmp>
        PixmapHigh <toolbar\high\crop_auto.bmp>
    }
    define_wl_dialog {
	Library <image_commands.dll>
	Factory_name <create_define_wl_dialog_cmd>
	Label <wldef Define>
        ToolbarLabel<Define>
        Tips <wldef Define>
        Pixmap <toolbar\define_wl.bmp>
        PixmapHigh <toolbar\high\define_wl.bmp>
    }
    magnifying_glass {
	Library <image_commands.dll>
	Factory_name <create_magnifying_glass_cmd>
	Label <Magnifying glass>
        ToolbarLabel<Magnify>
	Tips <Create a magnifying glass>
	AcceleratorKey <g>
	AcceleratorModifier <SI_CTRL>
	AcceleratorLabel <Ctrl+g>
        Pixmap <toolbar\magnifyer.bmp>
        PixmapHigh <toolbar\high\magnifyer.bmp>
    }
    image_zoom_toggle {
	Library <image_commands.dll>
	Factory_name <create_im_zoom_toggle_cmd>
	Label <Toggle Zoom>
        ToolbarLabel<Toggle Zoom>
	Tips <Toggle enlarge or decrease of the image size>
	AcceleratorKey <z>
	AcceleratorModifier <SI_SHIFT_L>
	AcceleratorLabel <Shift+z>
        Pixmap <toolbar\image_zoom_in.bmp>
        PixmapHigh <toolbar\high\image_zoom_in.bmp>
    }
    image_zoom_quadrant {
	Library <image_commands.dll>
	Factory_name <create_im_zoom_quadrant_cmd>
	Label <Quadrant Zoom>
        ToolbarLabel<Quad Zoom>
	Tips <Enlarge the image and pan through the quadrants clockwise>
	AcceleratorKey <q>
	AcceleratorModifier <SI_SHIFT_L>
	AcceleratorLabel <Shift+q>
        Pixmap <toolbar\image_zoom_in.bmp>
        PixmapHigh <toolbar\high\image_zoom_in.bmp>
    }
    image_zoom_in {
	Library <image_commands.dll>
	Factory_name <create_im_zoom_in_cmd>
	Label <Zoom in>
        ToolbarLabel<Zoom in>
	Tips <Enlarge the image>
	AcceleratorKey <z>
	AcceleratorModifier <SI_CTRL>
	AcceleratorLabel <Ctrl+z>
        Pixmap <toolbar\image_zoom_in.bmp>
        PixmapHigh <toolbar\high\image_zoom_in.bmp>
    }
    image_zoom_out {
	Library <image_commands.dll>
	Factory_name <create_im_zoom_out_cmd>
	Label <Zoom out>
        ToolbarLabel<Zoom out>
	Tips <Decrease the image size>
	AcceleratorKey <z>
	AcceleratorModifier <SI_CTRL:SI_SHIFT_L>
	AcceleratorLabel <Ctrl+Shift+z>
        Pixmap <toolbar\image_zoom_out.bmp>
        PixmapHigh <toolbar\high\image_zoom_out.bmp>
    }
    image_true_size {
	Library <image_commands.dll>
	Factory_name <create_im_true_size_cmd>
	Label <True size (image)>
        ToolbarLabel<True>
	Tips <Zoom to true size>
        Pixmap <toolbar\zoom_true.bmp>
        PixmapHigh <toolbar\high\zoom_true.bmp>
    }
    pixel_to_pixel {
	Library <image_commands.dll>
	Factory_name <create_im_pixel_to_pixel_cmd>
	Label <Pixel to pixel (1:1)>
        ToolbarLabel<1:1>
	Tips <Zoom pixel to pixel>
        Pixmap <toolbar\zoom_1to1.bmp>
        PixmapHigh <toolbar\high\zoom_1to1.bmp>
    }
    image_zoom_to_fit {
	Library <image_commands.dll>
	Factory_name <create_im_zoom_to_fit_cmd>
	Label <Zoom to fit window>
        ToolbarLabel<Fit>
	Tips <Zoom to fit the screen exactly>
        Pixmap <toolbar\zoom_to_fit.bmp>
        PixmapHigh <toolbar\high\zoom_to_fit.bmp>
    }
    image_flip_vertical {
	Library <image_commands.dll>
	Factory_name <create_im_flip_vert_cmd>
	Label <Flip vertical>
        ToolbarLabel<Flip>
	Tips <Flip image in vertical direction>
        Pixmap <toolbar\image_flip_vertical.bmp>
        PixmapHigh <toolbar\high\image_flip_vertical.bmp>
    }
    image_flip_horizontal {
	Library <image_commands.dll>
	Factory_name <create_im_flip_horiz_cmd>
	Label <Flip horizontal>
        ToolbarLabel<Flip>
	Tips <Flip image in horizontal direction>
        Pixmap <toolbar\image_flip_horizontal.bmp>
        PixmapHigh <toolbar\high\image_flip_horizontal.bmp>
    }
    image_rot_90 {
	Library <image_commands.dll>
	Factory_name <create_im_rot_90_cmd>
	Label <Rotate 90°>
        ToolbarLabel<90°>
	Tips <Rotate 90° clockwise>
        Pixmap <toolbar\image_rot_90.bmp>
        PixmapHigh <toolbar\high\image_rot_90.bmp>
    }
    image_rot_180 {
	Library <image_commands.dll>
	Factory_name <create_im_rot_180_cmd>
	Label <Rotate 180°>
        ToolbarLabel<180°>
	Tips <Rotate 180° clockwise>
        Pixmap <toolbar\image_rot_180.bmp>
        PixmapHigh <toolbar\high\image_rot_180.bmp>
    }
    image_rot_270 {
	Library <image_commands.dll>
	Factory_name <create_im_rot_270_cmd>
	Label <Rotate 270°>
        ToolbarLabel<270°>
	Tips <Rotate 270° clockwise>
        Pixmap <toolbar\image_rot_270.bmp>
        PixmapHigh <toolbar\high\image_rot_270.bmp>
    }
    sync_cmd {
	Library <image_commands.dll>
	Factory_name <create_im_sync_cmd>
	Label <Synchronize>
        ToolbarLabel<Sync>
	Tips <Synchronize operations with other synchronized images/stacks>
	AcceleratorKey <SI_KP_PLUS>
	AcceleratorLabel <NUM+>
        Pixmap <toolbar\sync.bmp>
        PixmapHigh <toolbar\high\sync.bmp>
    }
    release_cmd {
	Library <image_commands.dll>
	Factory_name <create_im_release_cmd>
	Label <Release synchronization>
        ToolbarLabel<Release>
	Tips <Release synchronization>
	AcceleratorKey <SI_KP_MINUS>
	AcceleratorLabel <NUM->
        Pixmap <toolbar\sync_release.bmp>
        PixmapHigh <toolbar\high\sync_release.bmp>
    }
    image_reset {
	Library <image_commands.dll>
	Factory_name <create_im_reset_cmd>
	Label <Reset image>
        ToolbarLabel<Reset>
	Tips <Reset image to default setting>
	AcceleratorKey <r>
	AcceleratorModifier <SI_CTRL>
	AcceleratorLabel <Ctrl+r>
        Pixmap <toolbar\image_reset.bmp>
        PixmapHigh <toolbar\high\image_reset.bmp>
    }
    image_halign_center {
	Library <image_commands.dll>
	Factory_name <create_im_halign_center_cmd>
	Label <Align center (horizontal)>
        ToolbarLabel<Center>
	Tips <Center the image horizontally in the view>
        Pixmap <toolbar\image_center_horizontal.bmp>
        PixmapHigh <toolbar\high\image_center_horizontal.bmp>
    }
    image_halign_left {
	Library <image_commands.dll>
	Factory_name <create_im_halign_left_cmd>
	Label <Align left>
        ToolbarLabel<Left>
	Tips <Align the image to the left edge of the view>
        Pixmap <toolbar\image_align_left.bmp>
        PixmapHigh <toolbar\high\image_align_left.bmp>
    }
    image_halign_right {
	Library <image_commands.dll>
	Factory_name <create_im_halign_right_cmd>
	Label <Align right>
        ToolbarLabel<Right>
	Tips <Align the image to the right edge of the view>
        Pixmap <toolbar\image_align_right.bmp>
        PixmapHigh <toolbar\high\image_align_right.bmp>
    }
    image_valign_center {
	Library <image_commands.dll>
	Factory_name <create_im_valign_center_cmd>
	Label <Align center (vertical)>
        ToolbarLabel<Center>
	Tips <Center the image vertically in the view>
        Pixmap <toolbar\image_center_vertical.bmp>
        PixmapHigh <toolbar\high\image_center_vertical.bmp>
    }
    image_valign_top {
	Library <image_commands.dll>
	Factory_name <create_im_valign_top_cmd>
	Label <Align top>
        ToolbarLabel<Top>
	Tips <Align the image to the top edge of the view>
        Pixmap <toolbar\image_align_top.bmp>
        PixmapHigh <toolbar\high\image_align_top.bmp>
    }
    image_valign_bottom {
	Library <image_commands.dll>
	Factory_name <create_im_valign_bottom_cmd>
	Label <Align bottom>
        ToolbarLabel<Bottom>
	Tips <Align the image to the bottom edge of the view>
        Pixmap <toolbar\image_align_bottom.bmp>
        PixmapHigh <toolbar\high\image_align_bottom.bmp>
    }
    tile_1_1_cmd {
	Library <image_commands.dll>
	Factory_name <create_stack_tile_cmd>
	Tile <1 1>
	Label <1x1>
        ToolbarLabel<1x1>
	Tips <Tile 1x1>
	AcceleratorKey <1>
	AcceleratorModifier <SI_CTRL>
	AcceleratorLabel <Ctrl+1>
        Pixmap <toolbar\tile_1x1.bmp>
        PixmapHigh <toolbar\high\tile_1x1.bmp>
    }
    tile_2_2_cmd {
	Library <image_commands.dll>
	Factory_name <create_stack_tile_cmd>
	Tile <2 2>
	Label <2x2>
        ToolbarLabel<2x2>
	Tips <Tile 2x2>
	AcceleratorKey <2>
	AcceleratorModifier <SI_CTRL>
	AcceleratorLabel <Ctrl+2>
        Pixmap <toolbar\tile_2x2.bmp>
        PixmapHigh <toolbar\high\tile_2x2.bmp>
    }
    tile_3_3_cmd {
	Library <image_commands.dll>
	Factory_name <create_stack_tile_cmd>
	Tile <3 3>
	Label <3x3>
        ToolbarLabel<3x3>
	Tips <Tile 3x3>
	AcceleratorKey <3>
	AcceleratorModifier <SI_CTRL>
	AcceleratorLabel <Ctrl+3>
        Pixmap <toolbar\tile_3x3.bmp>
        PixmapHigh <toolbar\high\tile_3x3.bmp>
    }
    tile_4_4_cmd {
	Library <image_commands.dll>
	Factory_name <create_stack_tile_cmd>
	Tile <4 4>
	Label <4x4>
        ToolbarLabel<4x4>
	Tips <Tile 4x4>
	AcceleratorKey <4>
	AcceleratorModifier <SI_CTRL>
	AcceleratorLabel <Ctrl+4>
        Pixmap <toolbar\tile_4x4.bmp>
        PixmapHigh <toolbar\high\tile_4x4.bmp>
    }
    stack_editor {
        Library <image_commands.dll>
	Factory_name <create_start_stack_editor_cmd>
	Label <Stack tool>
	ToolbarLabel <Stack tool>
	Tips <Stack tool>
	#Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_page_up_cmd {
	Library <image_commands.dll>
	Factory_name <create_st_page_up_cmd>
	Label <Page up>
        ToolbarLabel<Pg up>
	Tips <Display previous image in stack/collection>
	AcceleratorKey <SI_PAGE_UP>
	AcceleratorModifier <SI_SHIFT_L>
	AcceleratorLabel <Shift+PageUp>
        Pixmap <toolbar\page_up.bmp>
        PixmapHigh <toolbar\high\page_up.bmp>
	#    wrap_around <0>
    }
    stack_page_down_cmd {
	Library <image_commands.dll>
	Factory_name <create_st_page_down_cmd>
	Label <Page down>
        ToolbarLabel<Pg down>
	Tips <Display next image in stack/collection>
	AcceleratorKey <SI_PAGE_DOWN>
	AcceleratorModifier <SI_SHIFT_L>
	AcceleratorLabel <Shift+PageDown>
        Pixmap <toolbar\page_down.bmp>
        PixmapHigh <toolbar\high\page_down.bmp>
	#    wrap_around <0>
    }
    stack_line_up_cmd {
	Library <image_commands.dll>
	Factory_name <create_st_line_up_cmd>
	Label <Line up>
        ToolbarLabel<Ln up>
	Tips <Display previous stack section according to selected tile>
	AcceleratorKey <SI_PAGE_UP>
	AcceleratorLabel <PageUp>
	#    wrap_around <0>
        Pixmap <toolbar\line_up.bmp>
        PixmapHigh <toolbar\high\line_up.bmp>
    }
    stack_line_down_cmd {
	Library <image_commands.dll>
	Factory_name <create_st_line_down_cmd>
	Label <Line down>
        ToolbarLabel<Ln down>
	Tips <Display next stack section according to selected tile>
	AcceleratorKey <SI_PAGE_DOWN>
	AcceleratorLabel <PageDown>
        Pixmap <toolbar\line_down.bmp>
        PixmapHigh <toolbar\high\line_down.bmp>
	#    wrap_around <0>
    }
    stack_first_im_cmd {
	Library <image_commands.dll>
	Factory_name <create_st_first_im_cmd>
	Label <First>
        ToolbarLabel<First>
	Tips <Go to first image in stack>
	AcceleratorKey <SI_HOME>
	AcceleratorLabel <Home>
        Pixmap <toolbar\stack_first.bmp>
        PixmapHigh <toolbar\high\stack_first.bmp>
    }
    stack_last_im_cmd {
	Library <image_commands.dll>
	Factory_name <create_st_last_im_cmd>
	Label <Last>
        ToolbarLabel<Last>
	Tips <Go to last image in stack>
	AcceleratorKey <SI_END>
	AcceleratorLabel <End>
        Pixmap <toolbar\stack_last.bmp>
        PixmapHigh <toolbar\high\stack_last.bmp>
    }
    stack_cine_loop_cmd {
	Library <image_commands.dll>
	Factory_name <create_st_cine_loop_cmd>
	Label <Cine loop>
        ToolbarLabel<Loop>
	Tips <Start animation of all images in stack>
	AcceleratorModifier <SI_CTRL>
	AcceleratorKey <l>
	AcceleratorLabel <Ctrl+l>
        Pixmap <toolbar\stack_cine_loop_cmd.bmp>
        PixmapHigh <toolbar\high\stack_cine_loop_cmd.bmp>
    }
    stack_cine_bounce_cmd {
        Library <image_commands.dll>
        Factory_name <create_st_cine_bounce_cmd>
        Label <Cine bounce>
        ToolbarLabel<Bounce>
        Tips <Start bouncing animation of all images in stack>
        AcceleratorModifier <SI_CTRL:SI_SHIFT>
        AcceleratorKey <l>
        AcceleratorLabel <Ctrl+Shift+l>
        Pixmap <toolbar\stack_cine_bounce_cmd.bmp>
        PixmapHigh <toolbar\high\stack_cine_bounce_cmd.bmp>
    }
    stack_cine_stop_cmd {
        Library <image_commands.dll>
        Factory_name <create_st_cine_stop_cmd>
        Label <Stop cine>
        ToolbarLabel<Stop>
        Tips <Stop cine loop>
        AcceleratorModifier <SI_CTRL>
        AcceleratorKey <k>
        AcceleratorLabel <Ctrl+k>
        Pixmap <toolbar\stack_cine_stop_cmd.bmp>
        PixmapHigh <toolbar\high\stack_cine_stop_cmd.bmp>
    }
    stack_sort_by_position_ascending_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_position_ascending_cmd>
        Label <Sort by position (ascending)>
	ToolbarLabel<Position>
        Tips <Sorts stack by position in ascending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_position_descending_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_position_descending_cmd>
        Label <Sort by position (descending)>
	ToolbarLabel<Position>
        Tips <Sorts stack by position in descending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_slice_number_ascending_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_slice_number_ascending_cmd>
        Label <Sort by slice number (ascending)>
	ToolbarLabel<Slice no>
        Tips <Sorts stack by slice number in ascending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_slice_number_descending_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_slice_number_descending_cmd>
        Label <Sort by slice number (descending)>
	ToolbarLabel<Slice no>
        Tips <Sorts stack by slice number in descending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_time_ascending_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_time_ascending_cmd>
        Label <Sort by time (ascending)>
	ToolbarLabel<Time>
        Tips <Sorts stack by time in ascending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_time_descending_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_time_descending_cmd>
        Label <Sort by time (descending)>
	ToolbarLabel<Time>
        Tips <Sorts stack by time in descending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_dynamic_scan_ascending_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_dynamic_scan_ascending_cmd>
        Label <Sort by temporal position ID (ascending)>
	ToolbarLabel<Temp pos ID>
        Tips <Sorts stack by temporal position ID in ascending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_dynamic_scan_descending_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_dynamic_scan_descending_cmd>
        Label <Sort by temporal position ID (descending)>
	ToolbarLabel<Temp pos ID>
        Tips <Sorts stack by temporal position ID in descending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_echo_time_ascending_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_echo_time_ascending_cmd>
        Label <Sort by echo time (ascending)>
	ToolbarLabel<Echo>
        Tips <Sorts stack by echo time in ascending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_echo_time_descending_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_echo_time_descending_cmd>
        Label <Sort by echo time (descending)>
	ToolbarLabel<Echo>
        Tips <Sorts stack by echo time in descending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_position_plus_echo_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_position_plus_echo_cmd>
        Label <Sort by position + echo time (ascending)>
	ToolbarLabel<Pos + Echo>
        Tips <Sorts stack by position as primary criteria and echo time as subcriteria in ascending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_position_plus_echo_desc_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_position_plus_echo_desc_cmd>
        Label <Sort by position + echo time (descending)>
	ToolbarLabel<Pos + Echo>
        Tips <Sorts stack by position as primary criteria and echo time as subcriteria in descending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_echo_plus_position_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_echo_plus_position_cmd>
        Label <Sort by echo time + position (ascending)>
	ToolbarLabel<Echo + Pos>
        Tips <Sorts stack by echo time as primary criteria and position as subcriteria in ascending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_echo_plus_position_desc_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_echo_plus_position_desc_cmd>
        Label <Sort by echo time + position (descending)>
	ToolbarLabel<Echo + Pos>
        Tips <Sorts stack by echo time as primary criteria and position as subcriteria in descending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_position_plus_dynamic_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_position_plus_dynamic_cmd>
        Label <Sort by position + temporal position ID (ascending)>
	ToolbarLabel<Pos + Temp pos ID>
        Tips <Sorts stack by position as primary criteria and temporal position ID as subcriteria in ascending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_position_plus_dynamic_desc_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_position_plus_dynamic_desc_cmd>
        Label <Sort by position + temporal position ID (descending)>
	ToolbarLabel<Pos + Temp pos ID>
        Tips <Sorts stack by position as primary criteria and temporal position ID as subcriteria in descending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_dynamic_plus_position_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_dynamic_plus_position_cmd>
        Label <Sort by temporal position ID + position (ascending)>
	ToolbarLabel<Temp pos ID + Pos>
        Tips <Sorts stack by temporal position ID as primary criteria and position as subcriteria in ascending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_by_dynamic_plus_position_desc_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_by_dynamic_plus_position_desc_cmd>
        Label <Sort by temporal position ID + position (descending)>
	ToolbarLabel<Temp pos ID + Pos>
        Tips <Sorts stack by temporal position ID as primary criteria and position as subcriteria in descending order>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_none_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_none_cmd>
        Label <No sorting>
	ToolbarLabel<No sorting>
        Tips <Resets all slices to their original position>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    stack_sort_custom_cmd {
        Library <image_commands.dll>
        Factory_name <create_stack_sort_custom_cmd>
        Label <Custom...>
	ToolbarLabel<Custom...>
        Tips <Custom sorting where up to two criteria may be used>
        #Pixmap <toolbar\page_up.bmp>
	#PixmapHigh <toolbar\page_up.bmp>
    }
    show_scout_cmd {
        Library <image_commands.dll>
        Factory_name <create_show_scout_cmd>
        Label <&Show scanogram>
        ToolbarLabel<Show>
        Tips <Show the scanogram of the current stack>
        Pixmap <toolbar\show_scanogram.bmp>
        PixmapHigh <toolbar\high\show_scanogram.bmp>
    }
    hide_scout_cmd {
        Library <image_commands.dll>
        Factory_name <create_hide_scout_cmd>
        Label <&Hide scanogram>
        ToolbarLabel<Hide>
        Tips <Hide the scanogram of the current stack>
        Pixmap <toolbar\hide_scanogram.bmp>
        PixmapHigh <toolbar\high\hide_scanogram.bmp>
    }
    show_localizer_cmd {
        Library <image_commands.dll>
        Factory_name <create_show_localizer_cmd>
        Label <Show localizer>
        ToolbarLabel<Show>
        Tips <Show all available localizer lines, including crosshair marker>
        Pixmap <toolbar\show_scanogram.bmp>
        PixmapHigh <toolbar\high\show_scanogram.bmp>
    }    
    show_simple_localizer_cmd {
        Library <image_commands.dll>
        Factory_name <create_show_simple_localizer_cmd>
        Label <Show simple localizer>
        ToolbarLabel<Show simple>
        Tips <Show all available localizer lines, excluding crosshair marker>
        Pixmap <toolbar\show_scanogram.bmp>
        PixmapHigh <toolbar\high\show_scanogram.bmp>
    }    
    hide_localizer_cmd {
        Library <image_commands.dll>
        Factory_name <create_hide_localizer_cmd>
        Label <Hide localizer>
        ToolbarLabel<Hide localizer>
        Tips <Hide all available localizer lines, including crosshair marker>
        Pixmap <toolbar\hide_scanogram.bmp>
        PixmapHigh <toolbar\high\hide_scanogram.bmp>
    }    
    annotation_line {
        Library <image_commands.dll>
        Factory_name <create_line_ovl_cmd>
        Label <&Line>
        ToolbarLabel<Line>
        Tips <Draw line>
        Pixmap <toolbar\annotation_line.bmp>
        PixmapHigh <toolbar\high\annotation_line.bmp>
    }
    annotation_polyline {
        Library <image_commands.dll>
        Factory_name <create_polyline_ovl_cmd>
        Label <&Polyline>
        ToolbarLabel<Polyline>
        Tips <Draw polyline>
        Pixmap <toolbar\annotation_polyline.bmp>
        PixmapHigh <toolbar\high\annotation_polyline.bmp>
    }
    annotation_circle {
        Library <image_commands.dll>
        Factory_name <create_circle_ovl_cmd>
        Label <&Circle>
        ToolbarLabel<Circle>
        Tips <Draw circle>
        Pixmap <toolbar\annotation_circle.bmp>
        PixmapHigh <toolbar\high\annotation_circle.bmp>
    }
    annotation_ellipse {
        Library <image_commands.dll>
        Factory_name <create_ellipse_ovl_cmd>
        Label <&Ellipse>
        ToolbarLabel<Ellipse>
        Tips <Draw ellipse>
        Pixmap <toolbar\annotation_ellipse.bmp>
        PixmapHigh <toolbar\high\annotation_ellipse.bmp>
    }
    annotation_point {
        Library <image_commands.dll>
        Factory_name <create_point_ovl_cmd>
        Label <&Point>
        ToolbarLabel<Point>
        Tips <Draw point>
        Pixmap <toolbar\annotation_point.bmp>
        PixmapHigh <toolbar\high\annotation_point.bmp>
    }
    annotation_arrow {
        Library <image_commands.dll>
        Factory_name <create_arrow_ovl_cmd>
        Label <&Arrow>
        ToolbarLabel<Arrow>
        Tips <Draw arrow>
        Pixmap <toolbar\annotation_arrow.bmp>
        PixmapHigh <toolbar\high\annotation_arrow.bmp>
    }
#    annotation_curve {
#        Library <image_commands.dll>
#        Factory_name <create_curve_ovl_cmd>
#        Label <&Curve>
#        Tips <Bezier curve>
#    }
    annotation_text {
        Library <image_commands.dll>
        Factory_name <create_annotation_ovl_cmd>
        Label <&Text>
        ToolbarLabel<Text>
        Tips <Write text>
        Pixmap <toolbar\annotation_text.bmp>
        PixmapHigh <toolbar\high\annotation_text.bmp>
    }
    annotation_mark {
        Library <image_commands.dll>
        Factory_name <create_annot_mark_ovl_cmd>
        Label <Text &mark>
        ToolbarLabel<Mark>
        Tips <Write text mark>
        Pixmap <toolbar\annotation_mark.bmp>
        PixmapHigh <toolbar\high\annotation_mark.bmp>
    }
    measure_distance {
        Library <image_commands.dll>
        Factory_name <create_distance_ovl_cmd>
        Label <&Distance>
        ToolbarLabel<Distance>
        Tips <Measure distance>
        Pixmap <toolbar\measure_distance.bmp>
        PixmapHigh <toolbar\high\measure_distance.bmp>
    }
    calibration {
        Library <image_commands.dll>
        Factory_name <create_calibration_ovl_cmd>
        Label <&Calibration>
        ToolbarLabel<Calib>
        Tips <Calibrate image>
        Pixmap <toolbar\calibration.bmp>
        PixmapHigh <toolbar\high\calibration.bmp>
    }
    reset_calibration {
        Library <image_commands.dll>
        Factory_name <create_reset_calib_ovl_cmd>
        Label <&Reset calibration>
        ToolbarLabel<Reset>
        Tips <Reset calibration>
        Pixmap <toolbar\calibration_reset.bmp>
        PixmapHigh <toolbar\high\calibration_reset.bmp>
    }
    measure_angle {
        Library <image_commands.dll>
        Factory_name <create_angle_ovl_cmd>
        Label <&Angle>
        ToolbarLabel<Angle>
        Tips <Measure angle>
        Pixmap <toolbar\measure_angle.bmp>
        PixmapHigh <toolbar\high\measure_angle.bmp>
    }
    measure_area {
        Library <image_commands.dll>
        Factory_name <create_area_ovl_cmd>
        Label <A&rea>
        Tips <Measure area>
        ToolbarLabel<Area>
        Pixmap <toolbar\measure_area.bmp>
        PixmapHigh <toolbar\high\measure_area.bmp>
    }
    measure_stat_circ {
        Library <image_commands.dll>
        Factory_name <create_stat_circ_ovl_cmd>
        Label <Statistics c&ircle>
        ToolbarLabel<hounsfield Stat>
        Tips <Image statistics circle>
        Pixmap <toolbar\statistics_circle.bmp>
        PixmapHigh <toolbar\high\statistics_circle.bmp>
    }
    measure_nm_stat_circ {
        Library <image_commands.dll>
        Factory_name <create_nm_stat_circ_ovl_cmd>
        Label <NM Statistics circle>
        ToolbarLabel<NM Stat. circle>
        Tips <Nuclear Medicine statistics circle>
        Pixmap <toolbar\statistics_circle.bmp>
        PixmapHigh <toolbar\high\statistics_circle.bmp>
    }
    measure_stat_area {
        Library <image_commands.dll>
        Factory_name <create_stat_area_ovl_cmd>
        Label <Statistics ar&ea>
        ToolbarLabel<hounsfield Stat>
        Tips <Image statistics area>
        Pixmap <toolbar\statistics_area.bmp>
        PixmapHigh <toolbar\high\statistics_area.bmp>
    }
    measure_nm_stat_area {
        Library <image_commands.dll>
        Factory_name <create_nm_stat_area_ovl_cmd>
        Label <NM Statistics area>
        ToolbarLabel<NM Stat. area>
        Tips <Nuclear Medicine statistics area>
        Pixmap <toolbar\statistics_area.bmp>
        PixmapHigh <toolbar\high\statistics_area.bmp>
    }
    overlay_plugin_restore {
        Library <image_commands.dll>
        Factory_name <create_plugin_ovl_restore_cmd>
    }
    overlay_plugin_menu {
        Library <image_commands.dll>
        Factory_name <create_plugin_ovl_menu_cmd>
        Label <Overlay plugins>
    }
    anonymized_display_level {
        Library <image_commands.dll>
        Factory_name <create_display_level_cmd>
        Label <&Anonymized>
        Tips <Anonymized image info>
        ToolbarLabel<Anon>
        Level <-1>
        Pixmap <toolbar\anon_imageinfo.bmp>
        PixmapHigh <toolbar\high\anon_imageinfo.bmp>
    }
    min_display_level {
        Library <image_commands.dll>
        Factory_name <create_display_level_cmd>
        Label <&Minimum>
        Tips <Min image info>
        ToolbarLabel<Min>
        Level <0>
        Pixmap <toolbar\min_imageinfo.bmp>
        PixmapHigh <toolbar\high\min_imageinfo.bmp>
    }
    max_display_level {
        Library <image_commands.dll>
        Factory_name <create_display_level_cmd>
        Label <Ma&ximum>
        ToolbarLabel<Max>
        Tips <Max image info>
        Level <10>
        Pixmap <toolbar\max_imageinfo.bmp>
        PixmapHigh <toolbar\high\max_imageinfo.bmp>
    }
    show_annotations_local {
        Library <image_commands.dll>
        Factory_name <create_show_annot_local_cmd>
        Label <&Show annotations>
        ToolbarLabel<Show>
        Tips <Show annotations>
        Pixmap <toolbar\show_annotations.bmp>
        PixmapHigh <toolbar\high\show_annotations.bmp>
    }
    hide_annotations_local {
        Library <image_commands.dll>
        Factory_name <create_hide_annot_local_cmd>
        Label <&Hide annotations>
        ToolbarLabel<Hide>
        Tips <Hide annotations>
        Pixmap <toolbar\hide_annotations.bmp>
        PixmapHigh <toolbar\high\hide_annotations.bmp>
    }
    show_annotations_global {
        Library <image_commands.dll>
        Factory_name <create_show_annot_global_cmd>
        Label <&Show annotations>
        ToolbarLabel<Show>
        Tips <Show annotations>
        Pixmap <toolbar\show_annotations.bmp>
        PixmapHigh <toolbar\high\show_annotations.bmp>
    }
    hide_annotations_global {
        Library <image_commands.dll>
        Factory_name <create_hide_annot_global_cmd>
        Label <&Hide annotations>
        ToolbarLabel<Hide>
        Tips <Hide annotations>
        Pixmap <toolbar\hide_annotations.bmp>
        PixmapHigh <toolbar\high\hide_annotations.bmp>
    }
    show_overlay_plugins_local {
        Library <image_commands.dll>
        Factory_name <create_show_overlay_plugins_local_cmd>
        Label <&Show overlay plugins>
        ToolbarLabel<Show>
        Tips <Show overlay plugins>
        Pixmap <toolbar\show_annotations.bmp>
        PixmapHigh <toolbar\high\show_annotations.bmp>
    }
    show_overlay_plugins_global {
        Library <image_commands.dll>
        Factory_name <create_show_overlay_plugins_global_cmd>
        Label <&Show overlay plugins>
        ToolbarLabel<Show>
        Tips <Show overlay plugins>
        Pixmap <toolbar\show_annotations.bmp>
        PixmapHigh <toolbar\high\show_annotations.bmp>
    }
    dicom_oly_black {
        Library <image_commands.dll>
        Factory_name <create_show_dcm_oly_cmd>
        Label <Show DICOM overlays (&black)>
        ToolbarLabel<Black>
        Tips <Show DICOM overlays (black)>
        Show <2>
        Local <0>
        Pixmap <toolbar\annotations_black.bmp>
        PixmapHigh <toolbar\high\annotations_black.bmp>
    }
    dicom_oly_white {
        Library <image_commands.dll>
        Factory_name <create_show_dcm_oly_cmd>
        Label <Show DICOM overlays (&white)>
        ToolbarLabel<White>
        Tips <Show DICOM overlays (white)>
        Show <1>
        Local <0>
        Pixmap <toolbar\annotations_white.bmp>
        PixmapHigh <toolbar\high\annotations_white.bmp>
    }
    dicom_oly_none {
        Library <image_commands.dll>
        Factory_name <create_show_dcm_oly_cmd>
        Label <Hide DICOM &overlays>
        ToolbarLabel<Hide>
        Tips <Hide DICOM overlays>
        Show <0>
        Local <0>
        Pixmap <toolbar\annotations_none.bmp>
        PixmapHigh <toolbar\high\annotations_none.bmp>
    }
    dicom_oly_black_lcl {
        Library <image_commands.dll>
        Factory_name <create_show_dcm_oly_cmd>
        Label <Show DICOM overlays (&black)>
        Tips <Show DICOM overlays (black)>
        ToolbarLabel<Black>
        Show <2>
        Local <1>
        Pixmap <toolbar\annotations_black.bmp>
        PixmapHigh <toolbar\high\annotations_black.bmp>
    }
    dicom_oly_white_lcl {
        Library <image_commands.dll>
        Factory_name <create_show_dcm_oly_cmd>
        Label <Show DICOM overlays (&white)>
        Tips <Show DICOM overlays (white)>
        ToolbarLabel<White>
        Show <1>
        Local <1>
        Pixmap <toolbar\annotations_white.bmp>
        PixmapHigh <toolbar\high\annotations_white.bmp>
    }
    dicom_oly_none_lcl {
        Library <image_commands.dll>
        Factory_name <create_show_dcm_oly_cmd>
        Label <Hide DICOM &overlays>
        Tips <Hide DICOM overlays>
        ToolbarLabel<Hide>
        Show <0>
        Local <1>
        Pixmap <toolbar\annotations_none.bmp>
        PixmapHigh <toolbar\high\annotations_none.bmp>
    }
    image_invert {
        Library <image_commands.dll>
        Factory_name <create_im_invert_cmd>
        Label <Invert>
        ToolbarLabel<Invert>
        Tips <Invert greyscale of image>
        AcceleratorKey <i>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+i>
        Pixmap <toolbar\image_invert.bmp>
        PixmapHigh <toolbar\high\image_invert.bmp>
    }
    image_palette {
        Library <image_commands.dll>
        Factory_name <create_image_palette_cmd>
        Label <IMGPAL>
        ToolbarLabel <IMGPAL_TOOLBAR>
        Tips <IMGPAL_TOOLTIP>
        ! AcceleratorKey <i>
        ! AcceleratorModifier <SI_CTRL>
        ! AcceleratorLabel <Ctrl+i>
        Pixmap <toolbar\select_palette.bmp>
        PixmapHigh <toolbar\high\select_palette.bmp>
    }
    NM_control {
        Library <image_commands.dll>
        Factory_name <create_NM_control_cmd>
        Label <NM Control>
        ToolbarLabel <NM Control>
        Tips <Toggle the NM control on or off>
        ! AcceleratorKey <i>
        ! AcceleratorModifier <SI_CTRL>
        ! AcceleratorLabel <Ctrl+i>
        Pixmap <toolbar\histogram_control.bmp>
        PixmapHigh <toolbar\high\histogram_control.bmp>
    }
    close_NM_control {
	Library <image_commands.dll>
        Factory_name <create_close_NM_control_cmd>
        Label <Close>
    }
    image_reset_palette {
        Library <image_commands.dll>
        Factory_name <create_image_reset_palette_cmd>
        Label <IMGPAL_RESET>
        ToolbarLabel <IMGPAL_RESET_TOOLBAR>
        Tips <IMGPAL_RESET_TOOLTIP>
        ! AcceleratorKey <i>
        ! AcceleratorModifier <SI_CTRL>
        ! AcceleratorLabel <Ctrl+i>
        Pixmap <toolbar\grayscale_palette.bmp>
        PixmapHigh <toolbar\high\grayscale_palette.bmp>
    }
    image_edge_enhance {
        Library <image_commands.dll>
        Factory_name <create_im_edge_enhance_cmd>
        Label <Edge enhance>
        ToolbarLabel<Edge enh.>
        Tips <Edge enhance>
        Pixmap <toolbar\edge_enhance.bmp>
        PixmapHigh <toolbar\high\edge_enhance.bmp>
        AcceleratorKey <e>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+e>
    }
    local_window {
        Library <image_commands.dll>
        Factory_name <create_window_level_cmd>
        Label <Local window>
        ToolbarLabel<Local>
        Tips <Apply local window setting>
        Pixmap <toolbar\window_level.bmp>
        PixmapHigh <toolbar\high\window_level.bmp>
    }
    local_window_step {
        Library <image_commands.dll>
        Factory_name <create_window_level_step_cmd>
        Label <Step W/L>
        ToolbarLabel<Step W/L>
        Tips <Step through local window settings>
        AcceleratorKey <w>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+w>
        Pixmap <toolbar\window_level.bmp>
        PixmapHigh <toolbar\high\window_level.bmp>
    }
    image_window {
        Library <image_commands.dll>
        Factory_name <create_image_window_cmd>
        Label <Image window>
        ToolbarLabel<Image>
        Tips <Apply image's own window setting>
        Pixmap <toolbar\window_level.bmp>
        PixmapHigh <toolbar\high\window_level.bmp>
    }
    copy_image {
        Library <image_commands.dll>
        Factory_name <create_copy_image_cmd>
        Label <Copy to clipboard>
        ToolbarLabel<Copy>
        Tips <Copy image to clipboard>
	AcceleratorKey <c>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+c>
        Pixmap <toolbar\copy.bmp>
        PixmapHigh <toolbar\high\copy.bmp>
    }
    copy_overlay {
	Library <image_commands.dll>
        Factory_name <create_copy_overlay_cmd>
        Label <Copy overlay>
        ToolbarLabel<Copy>
        Tips <Copy overlay to clipboard>
	AcceleratorKey <c>
        AcceleratorModifier <SI_CTRL:SI_SHIFT_L>
        AcceleratorLabel <Ctrl+Shift+c>
        Pixmap <toolbar\copy.bmp>
        PixmapHigh <toolbar\high\copy.bmp>
    }
    paste_overlay {
	Library <image_commands.dll>
        Factory_name <create_paste_overlay_cmd>
        Label <Paste overlay>
        ToolbarLabel<Paste>
        Tips <Paste overlay from clipboard>
        AcceleratorKey <v>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+v>
        Pixmap <toolbar\paste.bmp>
        PixmapHigh <toolbar\high\paste.bmp>
    }
    copy_calibration {
        Library <image_commands.dll>
        Factory_name <create_copy_calibration_cmd>
        Label <Copy calibration>
        ToolbarLabel<Copy>
        Tips <Copy calibration>
        Pixmap <toolbar\copy.bmp>
        PixmapHigh <toolbar\high\copy.bmp>
    }
    paste_calibration_coll {
	Library <image_commands.dll>
        Factory_name <create_paste_calibration_coll_cmd>
        Label <Paste calibration>
        ToolbarLabel<Paste>
        Tips <Paste calibration to current image>
        Pixmap <toolbar\paste.bmp>
        PixmapHigh <toolbar\high\paste.bmp>
    }
    flip_vertical_overlay {
	Library <image_commands.dll>
        Factory_name <create_flip_vertical_overlay_cmd>
        Label <Flip overlay vertical>
        ToolbarLabel<Flip vertical>
        Tips <Flip overlay vertical>
	AcceleratorKey <v>
	AcceleratorModifier <SI_CTRL:SI_SHIFT_L>
	AcceleratorLabel <Ctrl+Shift+v>
        Pixmap <toolbar\overlay_flip_vertical.bmp>
        PixmapHigh <toolbar\high\overlay_flip_vertical.bmp>
    }
    flip_horizontal_overlay {
	Library <image_commands.dll>
        Factory_name <create_flip_horizontal_overlay_cmd>
        Label <Flip overlay horizontal>
        ToolbarLabel<Flip horizontal>
        Tips <Flip overlay horizontal>
	AcceleratorKey <g>
	AcceleratorModifier <SI_CTRL:SI_SHIFT_L>
	AcceleratorLabel <Ctrl+Shift+g>
        Pixmap <toolbar\overlay_flip_horizontal.bmp>
        PixmapHigh <toolbar\high\overlay_flip_horizontal.bmp>
    }
    rotate_overlay {
	Library <image_commands.dll>
        Factory_name <create_rotate_overlay_cmd>
        Label <Rotate overlay>
        ToolbarLabel<Rotate>
        Tips <Rotate overlay 90° clockwise>
	AcceleratorKey <r>
	AcceleratorModifier <SI_CTRL:SI_SHIFT_L>
	AcceleratorLabel <Ctrl+Shift+r>
        Pixmap <toolbar\overlay_rotate_90.bmp>
        PixmapHigh <toolbar\high\overlay_rotate_90.bmp>
    }
    image_set_as_default {
        Library <image_commands.dll>
        Factory_name <create_set_as_default_cmd>
        Label <Set as default>
        ToolbarLabel<Default>
        Tips <Set current image settings as default>
        AcceleratorKey <d>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+d>
        Pixmap <toolbar\image_set_as_default.bmp>
        PixmapHigh <toolbar\high\image_set_as_default.bmp>
    }
    show_reports {
        Library <image_commands.dll>
	Factory_name <create_show_reports_cmd>
	Label <Show reports>
        ToolbarLabel<toolbox Reports>
        Tips <Show all reports for the request>
        Pixmap <toolbar\show_reports.bmp>
        PixmapHigh <toolbar\high\show_reports.bmp>
    }    
    fetch_image {
        Library <image_commands.dll>
        Factory_name <create_fetch_image_cmd>
        Label <Fetch image>
        ToolbarLabel<Fetch>
        Tips <Fetch image from matrix>
        AcceleratorKey <f>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+f>
        Pixmap <toolbar\fetch_image.bmp>
        PixmapHigh <toolbar\high\fetch_image.bmp>
    }
    slabs {
        Library <image_commands.dll>
        Factory_name <create_slabs_cmd>
        Label <Slab mode>
        ToolbarLabel<Slab>
        Tips <Turn on slab mode>
        Pixmap <toolbar\slabs.bmp>
        PixmapHigh <toolbar\high\slabs.bmp>
    }
    slabs_save {
        Library <image_commands.dll>
        Factory_name <create_save_slab_stack_cmd>
        Label <Save as new stack>
        ToolbarLabel<Save>
        Tips <Create a new stack in this examination and save the slab stack to it with the current settings>
        Pixmap <toolbar\slabs_save.bmp>
        PixmapHigh <toolbar\high\slabs_save.bmp>
    }   
    add_images {
        Library <image_commands.dll>
        Factory_name <create_add_images_cmd>
        Label <IMGADD_ADD>
        ToolbarLabel<IMGADD_ADD_TOOLBAR>
        Tips <IMGADD_ADD_TOOLTIP>
        Pixmap <toolbar\image_add_stack.bmp>
        PixmapHigh <toolbar\high\image_add_stack.bmp>
    }
    dont_add_images {
        Library <image_commands.dll>
        Factory_name <create_dont_add_images_cmd>
        Label <IMGADD_NONE>
        ToolbarLabel<IMGADD_NONE_TOOLBAR>
        Tips <IMGADD_NONE_TOOLTIP>
        Pixmap <toolbar\image_default_stack.bmp>
        PixmapHigh <toolbar\high\image_default_stack.bmp>
    }
    average_images {
        Library <image_commands.dll>
        Factory_name <create_average_images_cmd>
        Label <IMGADD_AVERAGE>
        ToolbarLabel<IMGADD_AVERAGE_TOOLBAR>
        Tips <IMGADD_AVERAGE_TOOLTIP>
        !AcceleratorKey <f>
        !AcceleratorModifier <SI_CTRL>
        !AcceleratorLabel <Ctrl+f>
        Pixmap <toolbar\image_average_stack.bmp>
        PixmapHigh <toolbar\high\image_average_stack.bmp>
    }
    cover_tools {
        Library <image_commands.dll>
        Factory_name <create_hide_toolarea_cmd>
        Label <Hide tool area>
        ToolbarLabel<Hide tools>
        Tips <Hide the toolbar and menu bar behind a black cover>
        Pixmap <toolbar\cover_tools.bmp>
        PixmapHigh <toolbar\high\cover_tools.bmp>
    }
    show_popup_menu {
        Library <image_commands.dll>
        Factory_name <create_show_popup_menu_cmd>
        Label <Show menu>
        ToolbarLabel<Menu...>
        Tips <Display the full popup menu>
        Pixmap <toolbar\show_popup_menu.bmp>
        PixmapHigh <toolbar\high\show_popup_menu.bmp>
    }
    set_no_sync_group {
        Library <image_commands.dll>
        Factory_name <create_set_sync_group_cmd>
        Label <No sync group>
        ToolbarLabel <No sync group>
        Tips <Set current image to belong to no DDP synchronization group>
        Pixmap <toolbar\no_sync_group.bmp>
        PixmapHigh <toolbar\high\no_sync_group.bmp>
        number <0>
    }
    set_sync_group_1 {
        Library <image_commands.dll>
        Factory_name <create_set_sync_group_cmd>
        Label <Sync group 1>
        ToolbarLabel <Sync group 1>
        Tips <Set current pane to belong to DDP synchronization group 1>
        Pixmap <toolbar\sync_group.bmp>
        PixmapHigh <toolbar\high\sync_group.bmp>
        number <1>
    }
    set_sync_group_2 {
        Library <image_commands.dll>
        Factory_name <create_set_sync_group_cmd>
        Label <Sync group 2>
        ToolbarLabel <Sync group 2>
        Tips <Set current pane to belong to DDP synchronization group 2>
        Pixmap <toolbar\sync_group.bmp>
        PixmapHigh <toolbar\high\sync_group.bmp>
        number <2>
    }
    set_sync_group_3 {
        Library <image_commands.dll>
        Factory_name <create_set_sync_group_cmd>
        Label <Sync group 3>
        ToolbarLabel <Sync group 3>
        Tips <Set current pane to belong to DDP synchronization group 3>
        Pixmap <toolbar\sync_group.bmp>
        PixmapHigh <toolbar\high\sync_group.bmp>
        number <3>
    }
    set_sync_group_4 {
        Library <image_commands.dll>
        Factory_name <create_set_sync_group_cmd>
        Label <Sync group 4>
        ToolbarLabel <Sync group 4>
        Tips <Set current pane to belong to DDP synchronization group 4>
        Pixmap <toolbar\sync_group.bmp>
        PixmapHigh <toolbar\high\sync_group.bmp>
        number <4>
    }
    reset_to_presentation {
	Library <image_commands.dll>
	Factory_name <create_reset_to_presentation_cmd>
	Label <Reset to presentation>
        ToolbarLabel<Reset...>
	Tips <Reset to DDP/Presentation settings>
        Pixmap <toolbar\image_reset.bmp>
        PixmapHigh <toolbar\high\image_reset.bmp>
    }

    #
    # Tagged images
    #
    set_tag {
        Library <image_commands.dll>
        Factory_name <create_set_tag_cmd>
        Label <Set>
        ToolbarLabel<Set>
        Tips <Set key image>
        AcceleratorKey <SI_KP_DIVIDE>
        AcceleratorLabel <NUM />
        Pixmap <toolbar\key_image_set.bmp>
        PixmapHigh <toolbar\high\key_image_set.bmp>
    }
    reset_tag {
        Library <image_commands.dll>
        Factory_name <create_reset_tag_cmd>
        Label <Reset>
        ToolbarLabel<Reset>
        Tips <Reset key image>
        AcceleratorKey <SI_KP_MULT>
        AcceleratorLabel <NUM *>
        Pixmap <toolbar\key_image_reset.bmp>
        PixmapHigh <toolbar\high\key_image_reset.bmp>
    }
    set_all_tags {
        Library <image_commands.dll>
        Factory_name <create_set_all_tags_cmd>
        Label <Set all>
        ToolbarLabel<Set all>
        Tips <Set key on all images>
        AcceleratorKey <SI_KP_DIVIDE>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+NUM />
        Pixmap <toolbar\key_image_set_all.bmp>
        PixmapHigh <toolbar\high\key_image_set_all.bmp>
    }
    reset_all_tags {
        Library <image_commands.dll>
        Factory_name <create_reset_all_tags_cmd>
        Label <Reset all>
        ToolbarLabel<Reset all>
        Tips <Reset key on all images>
        AcceleratorKey <SI_KP_MULT>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+NUM *>
        Pixmap <toolbar\key_image_reset_all.bmp>
        PixmapHigh <toolbar\high\key_image_reset_all.bmp>
    }
    stack_next_tag_cmd {
        Library <image_commands.dll>
        Factory_name <create_st_next_tag_cmd>
        Label <Go to next>
        Tips <Go to next key image>
        ToolbarLabel<Next>
        AcceleratorKey <SI_KP_3>
        AcceleratorLabel <NUM 3>
        Pixmap <toolbar\key_image_next.bmp>
        PixmapHigh <toolbar\high\key_image_next.bmp>
    }
    stack_prev_tag_cmd {
        Library <image_commands.dll>
        Factory_name <create_st_prev_tag_cmd>
        Label <Go to previous>
        ToolbarLabel<Previous>
        Tips <Go to previous key image>
        AcceleratorKey <SI_KP_9>
        AcceleratorLabel <NUM 9>
        Pixmap <toolbar\key_image_previous.bmp>
        PixmapHigh <toolbar\high\key_image_previous.bmp>
    }
    stack_cine_next_tag_cmd {
        Library <image_commands.dll>
        Factory_name <create_st_cine_next_tag_cmd>
        Label <Cine to next>
        ToolbarLabel<Next>
        Tips <Cine loop to next key image>
        AcceleratorKey <SI_KP_1>
        AcceleratorLabel <NUM 1>
        Pixmap <toolbar\key_image_cine_next.bmp>
        PixmapHigh <toolbar\high\key_image_cine_next.bmp>
    }
    stack_cine_prev_tag_cmd {
        Library <image_commands.dll>
        Factory_name <create_st_cine_prev_tag_cmd>
        Label <Cine to previous>
        ToolbarLabel<Previous>
        Tips <Cine loop to previous key image>
        AcceleratorKey <SI_KP_7>
        AcceleratorLabel <NUM 7>
        Pixmap <toolbar\key_image_cine_prev.bmp>
        PixmapHigh <toolbar\high\key_image_cine_prev.bmp>
    }
    
    #
    # Matrix window icon commands.
    #
    icon_flip_vertical {
        Library <image_commands.dll>
        Factory_name <create_icon_flip_vert_cmd>
        Label <Flip vertical>
        ToolbarLabel<Flip>
        Tips <Flip image in vertical direction>
    }
    icon_flip_horizontal {
        Library <image_commands.dll>
        Factory_name <create_icon_flip_horiz_cmd>
        Label <Flip horizontal>
        ToolbarLabel<Flip>
        Tips <Flip image in horizontal direction>
    }
    icon_rot_90 {
        Library <image_commands.dll>
        Factory_name <create_icon_rot_90_cmd>
        Label <Rotate 90°>
        ToolbarLabel<90°>
        Tips <Rotate 90° clockwise>
    }
    icon_rot_180 {
        Library <image_commands.dll>
        Factory_name <create_icon_rot_180_cmd>
        Label <Rotate 180°>
        ToolbarLabel<180°>
        Tips <Rotate 180° clockwise>
    }
    icon_rot_270 {
        Library <image_commands.dll>
        Factory_name <create_icon_rot_270_cmd>
        Label <Rotate 270°>
        ToolbarLabel<270°>
        Tips <Rotate 270° clockwise>
    }
    icon_halign_center {
	Library <image_commands.dll>
	Factory_name <create_icon_halign_center_cmd>
	Label <Align center (horizontal)>
        ToolbarLabel<Center>
	Tips <Center the image horizontally in the view>
    }
    icon_halign_left {
	Library <image_commands.dll>
	Factory_name <create_icon_halign_left_cmd>
	Label <Align left>
        ToolbarLabel<Left>
	Tips <Align the image to the left edge of the view>
    }
    icon_halign_right {
	Library <image_commands.dll>
	Factory_name <create_icon_halign_right_cmd>
	Label <Align right>
        ToolbarLabel<Right>
	Tips <Align the image to the right edge of the view>
    }
    icon_valign_center {
	Library <image_commands.dll>
	Factory_name <create_icon_valign_center_cmd>
	Label <Align center (vertical)>
        ToolbarLabel<Center>
	Tips <Center the image vertically in the view>
    }
    icon_valign_top {
	Library <image_commands.dll>
	Factory_name <create_icon_valign_top_cmd>
	Label <Align top>
        ToolbarLabel<Top>
	Tips <Align the image to the top edge of the view>
    }
    icon_valign_bottom {
	Library <image_commands.dll>
	Factory_name <create_icon_valign_bottom_cmd>
	Label <Align bottom>
        ToolbarLabel<Bottom>
	Tips <Align the image to the bottom edge of the view>
    }
    icon_reset {
        Library <image_commands.dll>
        Factory_name <create_icon_reset_cmd>
        Label <Reset to original>
        ToolbarLabel<Original>
        Tips <Reset to original>
        AcceleratorKey <e>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+e>
    }
    icon_invert {
        Library <image_commands.dll>
        Factory_name <create_icon_invert_cmd>
        Label <Invert>
        Tips <Invert greyscale of image>
        ToolbarLabel<Invert>
        AcceleratorKey <i>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+i>
    }
    icon_quick_window {
        Library <image_commands.dll>
        Factory_name <create_icon_quick_win_cmd>
        Label <Open quick window>
        ToolbarLabel<Quick>
        Tips <Open quick window>
        AcceleratorKey <q>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+q>
    }
    reset_to_pstate {
        Library <image_commands.dll>
        Factory_name <create_reset_to_pstate_cmd>
        Label <Reset to presentation state>
        ToolbarLabel<DICOM PS>
        Tips <Get settings from a DICOM presentation state>
        !AcceleratorKey <e>
        !AcceleratorModifier <SI_CTRL>
        !AcceleratorLabel <Ctrl+e>
        Pixmap <toolbar\select_presentation_state.bmp>
        PixmapHigh <toolbar\high\select_presentation_state.bmp>
    }
    export_image_mail {
        Library <image_commands.dll>
        Factory_name <create_export_image_to_email_cmd>
        Label <Send image by E-mail...>
        Tips <Export current image as an E-mail attachment>
	Pixmap <toolbar\export_to_cd.bmp>
	PixmapHigh <toolbar\high\export_to_cd.bmp>
    }
    export_stack_mail {
        Library <image_commands.dll>
        Factory_name <create_export_stack_to_email_cmd>
        Label <Send stack by E-mail...>
        Tips <Export current stack as an E-mail attachment>
	Pixmap <toolbar\export_to_cd.bmp>
	PixmapHigh <toolbar\high\export_to_cd.bmp>
    }
    export_image_cd {
        Library <image_commands.dll>
        Factory_name <create_export_image_to_cd_cmd>
        Label <Export image to CD...>
        Tips <Export current image to a CD>
	Pixmap <toolbar\export_to_cd.bmp>
	PixmapHigh <toolbar\high\export_to_cd.bmp>
    }
    export_stack_cd {
        Library <image_commands.dll>
        Factory_name <create_export_stack_to_cd_cmd>
        Label <Export stack to CD...>
        Tips <Export current stack to a CD>
	Pixmap <toolbar\export_to_cd.bmp>
	PixmapHigh <toolbar\high\export_to_cd.bmp>
    }
    export_image_cd_robot {
        Library <image_commands.dll>
        Factory_name <create_export_image_to_cd_robot_cmd>
        Label <Export image to CD Robot...>
        Tips <Export current image to a CD Robot>
	Pixmap <toolbar\export_to_cd_robot.bmp>
	PixmapHigh <toolbar\high\export_to_cd_robot.bmp>
    }
    export_stack_cd_robot {
        Library <image_commands.dll>
        Factory_name <create_export_stack_to_cd_robot_cmd>
        Label <Export stack to CD Robot...>
        Tips <Export current stack to a CD Robot>
	Pixmap <toolbar\export_to_cd_robot.bmp>
	PixmapHigh <toolbar\high\export_to_cd_robot.bmp>
    }
    import_pstate_overlays {
        Library <image_commands.dll>
        Factory_name <create_import_pstate_overlays_cmd>
        Label <Import presentation state overlays>
        ToolbarLabel<Import>
        Tips <Import overlays from a DICOM presentation state>
        Pixmap <toolbar\import_presentation_state.bmp>
        PixmapHigh <toolbar\high\import_presentation_state.bmp>
    }
    toggle_pstate_local {
        Library <image_commands.dll>
        Factory_name <create_toggle_pstate_cmd>
        Label <Toggle PS annotations>
        ToolbarLabel<Toggle PS>
        Tips <Toggle between show/hide of DICOM presentation state annotations>
        !AcceleratorKey <t>
        !AcceleratorModifier <SI_CTRL>
        !AcceleratorLabel <Ctrl+t>
        Pixmap <toolbar\toggle_presentation_state.bmp>
        PixmapHigh <toolbar\high\toggle_presentation_state.bmp>
    }
    toggle_pstate_global {
        Library <image_commands.dll>
        Factory_name <create_toggle_pstate_global_cmd>
        Label <Toggle PS annotations>
        ToolbarLabel<Toggle PS>
        Tips <Toggle between show/hide of DICOM presentation state annotations>
        !AcceleratorKey <t>
        !AcceleratorModifier <SI_CTRL>
        !AcceleratorLabel <Ctrl+t>
        Pixmap <toolbar\toggle_presentation_state.bmp>
        PixmapHigh <toolbar\high\toggle_presentation_state.bmp>
    }
    zoom_control {
        Library <image_commands.dll>
        Factory_name <create_zoom_control_cmd>
        Label <Show zoom control>
        ToolbarLabel <Control>
        Tips <Show control for zoom operations>
        Pixmap <toolbar\zoom.bmp>
        PixmapHigh <toolbar\high\zoom.bmp>
    }
    wl_control {
        Library <image_commands.dll>
        Factory_name <create_wl_control_cmd>
        Label <Show W/L control>
        ToolbarLabel <Control>
        Tips <Show control for windowing operations>
        Pixmap <toolbar\window_level.bmp>
        PixmapHigh <toolbar\high\window_level.bmp>
    }
    scroll_control {
        Library <image_commands.dll>
        Factory_name <create_scroll_control_cmd>
        Label <Show scroll control>
        ToolbarLabel <Control>
        Tips <Show control for scrolling in stacks>
        Pixmap <toolbar\page_down.bmp>
        PixmapHigh <toolbar\high\page_down.bmp>
    }
        
    #
    # Quick window commands
    #
    qw_reset_to_original {
        Library <image_commands.dll>
        Factory_name <create_qw_reset_to_original_cmd>
        Label <Reset to original>
        ToolbarLabel<Original>
        Tips <Reset to original>
        AcceleratorKey <e>
        AcceleratorModifier <SI_CTRL>
        AcceleratorLabel <Ctrl+e>
        Pixmap <toolbar\image_reset.bmp>
        PixmapHigh <toolbar\high\image_reset.bmp>
    }
}
