|
1 | 1 | --- |
2 | 2 | title: "Image Menu (C++ Image Editor for Icons)" |
3 | 3 | ms.date: "11/04/2016" |
4 | | -f1_keywords: ["vc.editors.bitmap"] |
5 | | -helpviewer_keywords: ["Image menu"] |
| 4 | +f1_keywords: ["vc.editors.bitmap", "vc.editors.dialog.GridSettings", "vc.editors.gridsettings"] |
| 5 | +helpviewer_keywords: ["Image menu", "Grid Settings dialog box [C++]"] |
6 | 6 | ms.assetid: ac2b4d53-1919-4fd1-a0af-d3c085c45af2 |
7 | 7 | --- |
8 | 8 | # Image Menu (C++ Image Editor for Icons) |
9 | 9 |
|
10 | | -The **Image** menu, which appears only when the **Image** editor is active, has commands for editing images, managing color palettes, and setting **Image Editor** window options. In addition, commands for using device images are available when working with icons and cursors. |
11 | | - |
12 | | -- **Invert Colors** |
13 | | - |
14 | | - Inverts your colors. For more information, see [Inverting the Colors in a Selection](../windows/inverting-the-colors-in-a-selection-image-editor-for-icons.md). |
15 | | - |
16 | | -- **Flip Horizontal** |
17 | | - |
18 | | - Flips the image or selection horizontally. For more information, see [Flipping an Image](../windows/flipping-an-image-image-editor-for-icons.md). |
19 | | - |
20 | | -- **Flip Vertical** |
21 | | - |
22 | | - Flips the image or selection vertically. For more information, see [Flipping an Image](../windows/flipping-an-image-image-editor-for-icons.md). |
23 | | - |
24 | | -- **Rotate 90 Degrees** |
25 | | - |
26 | | - Rotates the image or selection 90 degrees. For more information, see [Flipping an Image](../windows/flipping-an-image-image-editor-for-icons.md). |
27 | | - |
28 | | -- **Show Colors Window** |
29 | | - |
30 | | - Opens the [Colors window](../windows/colors-window-image-editor-for-icons.md), in which you can choose the colors to use for your image. For more information, see [Working with Color](../windows/working-with-color-image-editor-for-icons.md). |
31 | | - |
32 | | -- **Use Selection as Brush** |
33 | | - |
34 | | - Enables you to create a custom brush from a portion of an image. Your selection becomes a custom brush that distributes the colors in the selection across the image. Copies of the selection are left along the dragging path. The more slowly you drag, the more copies are made. For more information, see [Creating a Custom Brush](../windows/creating-a-custom-brush-image-editor-for-icons.md). |
35 | | - |
36 | | -- **Copy and Outline Selection** |
37 | | - |
38 | | - Creates a copy of the current selection and outlines it. If the background color is contained in the current selection, it will be excluded if you have [transparent](../windows/choosing-a-transparent-or-opaque-background-image-editor-for-icons.md) selected. |
39 | | - |
40 | | -- **Adjust Colors** |
41 | | - |
42 | | - Opens the [Custom Color Selector](../windows/custom-color-selector-dialog-box-image-editor-for-icons.md), which allows you to customize the colors you use for your image. For more information, see [Customizing or Changing Colors](../windows/customizing-or-changing-colors-image-editor-for-icons.md). |
43 | | - |
44 | | -- **Load Palette** |
45 | | - |
46 | | - Opens the [Load Color Palette dialog box](../windows/load-palette-colors-dialog-box-image-editor-for-icons.md), which enables you to load palette colors previously saved to a .pal file. |
47 | | - |
48 | | -- **Save Palette** |
49 | | - |
50 | | - Saves the palette colors to a .pal file. |
51 | | - |
52 | | -- **Draw Opaque** |
53 | | - |
54 | | - When selected, makes the current selection opaque. When cleared, makes the current selection transparent. For more information, see [Choosing an Opaque or Transparent Background](../windows/choosing-a-transparent-or-opaque-background-image-editor-for-icons.md). |
55 | | - |
56 | | -- **Toolbar Editor** |
57 | | - |
58 | | - Opens the [New Toolbar Resource dialog box](../windows/new-toolbar-resource-dialog-box.md). |
59 | | - |
60 | | -- **Grid Settings** |
61 | | - |
62 | | - Opens the [Grid Settings dialog box](../windows/grid-settings-dialog-box-image-editor-for-icons.md) in which you can specify grids for your image. |
63 | | - |
64 | | -- **New Image Type** |
65 | | - |
66 | | - Opens the [New \<Device> Image Type dialog box](../windows/new-device-image-type-dialog-box-image-editor-for-icons.md). A single icon resource can contain several images of different sizes; windows can use the appropriate icon size depending on how it is going to be displayed. A new device type does not modify the size of the icon, but rather creates a new image within the icon. Only applies to icons and cursors. |
67 | | - |
68 | | -- **Current Icon/Cursor Image Type** |
69 | | - |
70 | | - Opens a submenu that lists the first available cursor or icon images (the first nine). The last command on the submenu, **More...**, opens the [Open \<Device> Image dialog box](../windows/open-device-image-dialog-box-image-editor-for-icons.md). |
71 | | - |
72 | | -- **Delete Image Type** |
73 | | - |
74 | | - Deletes the selected device image. |
75 | | - |
76 | | -- **Tools** |
77 | | - |
78 | | - Launches a submenu which contains all the tools available from the [Image Editor toolbar](../windows/toolbar-image-editor-for-icons.md). |
| 10 | +The **Image** menu, which appears only when the **Image** editor is active, has commands for editing images, managing color palettes, and setting **Image Editor** window options. Also, commands for using device images are available when working with icons and cursors. |
| 11 | + |
| 12 | +|Command|Description| |
| 13 | +|---|---| |
| 14 | +|**Invert Colors**|Inverts your colors. For more information, see [Inverting the Colors in a Selection](../windows/inverting-the-colors-in-a-selection-image-editor-for-icons.md).| |
| 15 | +|**Flip Horizontal**|Flips the image or selection horizontally. For more information, see [Flipping an Image](../windows/flipping-an-image-image-editor-for-icons.md).| |
| 16 | +|**Flip Vertical**|Flips the image or selection vertically. For more information, see [Flipping an Image](../windows/flipping-an-image-image-editor-for-icons.md).| |
| 17 | +|**Rotate 90 Degrees**|Rotates the image or selection 90 degrees. For more information, see [Flipping an Image](../windows/flipping-an-image-image-editor-for-icons.md).| |
| 18 | +|**Show Colors Window**|Opens the [Colors window](../windows/colors-window-image-editor-for-icons.md), in which you can choose the colors to use for your image. For more information, see [Working with Color](../windows/working-with-color-image-editor-for-icons.md).| |
| 19 | +|**Use Selection as Brush**|Enables you to create a custom brush from a portion of an image. Your selection becomes a custom brush that distributes the colors in the selection across the image. Copies of the selection are left along the dragging path. The more slowly you drag, the more copies are made. For more information, see [Creating a Custom Brush](../windows/creating-a-custom-brush-image-editor-for-icons.md).| |
| 20 | +|**Copy and Outline Selection**|Creates a copy of the current selection and outlines it. If the background color is contained in the current selection, it will be excluded if you've [transparent](../windows/choosing-a-transparent-or-opaque-background-image-editor-for-icons.md) selected. |
| 21 | +|**Adjust Colors**|Opens the [Custom Color Selector](../windows/custom-color-selector-dialog-box-image-editor-for-icons.md), which allows you to customize the colors you use for your image. For more information, see [Customizing or Changing Colors](../windows/customizing-or-changing-colors-image-editor-for-icons.md).| |
| 22 | +|**Load Palette**|Opens the [Load Color Palette dialog box](../windows/load-palette-colors-dialog-box-image-editor-for-icons.md), which enables you to load palette colors previously saved to a .pal file.| |
| 23 | +|**Save Palette**|Saves the palette colors to a .pal file.| |
| 24 | +|**Draw Opaque**|When selected, makes the current selection opaque. When cleared, makes the current selection transparent. For more information, see [Choosing an Opaque or Transparent Background](../windows/choosing-a-transparent-or-opaque-background-image-editor-for-icons.md).| |
| 25 | +|**Toolbar Editor**|Opens the [New Toolbar Resource dialog box](../windows/new-toolbar-resource-dialog-box.md).| |
| 26 | +|**Grid Settings**|Opens the **Grid Settings** dialog box in which you can specify grids for your image.| |
| 27 | +|**New Image Type**|Opens the [New \<Device> Image Type dialog box](../windows/new-device-image-type-dialog-box-image-editor-for-icons.md). A single icon resource can contain several images of different sizes and windows can use the appropriate icon size depending on how it's going to be displayed. A new device type doesn't modify the size of the icon, but rather creates a new image within the icon. Only applies to icons and cursors.| |
| 28 | +|**Current Icon/Cursor Image Type**|Opens a submenu that lists the first available cursor or icon images (the first nine). The last command on the submenu, **More...**, opens the [Open \<Device> Image dialog box](../windows/open-device-image-dialog-box-image-editor-for-icons.md).| |
| 29 | +|**Delete Image Type**|Deletes the selected device image.| |
| 30 | +|**Tools**|Launches a submenu that contains all the tools available from the [Image Editor toolbar](../windows/toolbar-image-editor-for-icons.md).| |
| 31 | + |
| 32 | +The **Grid Settings** dialog box allows you to specify the grid settings for your image and displays grid lines over the edited image. The lines are useful for editing the image, but aren't saved as part of the image itself. |
| 33 | + |
| 34 | +|Property|Description| |
| 35 | +|---|---| |
| 36 | +|**Pixel grid**|When checked, displays a grid around each pixel in the Image editor. The grid appears only at 4× and higher resolutions.| |
| 37 | +|**Tile grid**|When selected, displays a grid around blocks of pixels in the Image editor, specified by the grid spacing values.| |
| 38 | +|**Width**|Specifies the width of each tile block. This property is useful when drawing bitmaps containing multiple images that are arranged at regular intervals.| |
| 39 | +|**Height**|Specifies the height of each tile block. This property is useful when drawing bitmaps containing multiple images that are arranged at regular intervals.| |
79 | 40 |
|
80 | 41 | ## Requirements |
81 | 42 |
|
82 | 43 | None |
83 | 44 |
|
84 | | -## See Also |
| 45 | +## See also |
85 | 46 |
|
86 | 47 | [Accelerator Keys](../windows/accelerator-keys-image-editor-for-icons.md)<br/> |
| 48 | +[Resizing an Image](../windows/resizing-an-image-image-editor-for-icons.md)<br/> |
87 | 49 | [Image Editor for Icons](../windows/image-editor-for-icons.md) |
0 commit comments