Microsoft KB Archive/136942

= INFO: General Information About the Image Editor =

Q136942

-

The information in this article applies to:


 * Microsoft Visual FoxPro for Windows Professional Edition, versions 3.0, 5.0

-

SUMMARY
This article provides information about the stand-alone Image Editor (Imagedit.exe) included with the Professional Edition of Visual FoxPro for Windows.

MORE INFORMATION
In the Image Editor, you must choose either a bitmap, icon, or cursor file type. Each file type has a different purpose in your application. You can create cursor (.cur) and icon (.ico) files with multiple images. Multiple images are used to match different displays, such as VGA, EGA, CGA, and monochrome, with the proper images. Windows selects the correct resource to display.

NOTE: The CGA video mode is not fully supported in Windows 3.1 or later.

In a monochrome bitmap, each pixel is represented by one bit, with a value of 1 for white and 0 for black.

In an icon or a cursor, each pixel can consist of either an opaque color from a color palette, a screen color, or an inverse color. If the pixel has an opaque color, it always takes that fixed color. In a cursor, black and white are the only opaque color choices for most devices. If a pixel takes the screen color, that portion of the icon or cursor appears transparent. If a pixel takes the inverse color, that portion of the icon or cursor appears to be highlighted.

By default, the Image Editor allows you to edit images for common display devices such as VGA or monochrome. You can create definitions of image types for other display devices. The Image Editor uses the Imagedit.ini file to keep the image definitions for icons and cursors used on display devices other than the default devices.

Imagedit.ini contains sections with information about your preferences.

For example:

  [ImagEdit.Icon] SuperVGA=16,64,64 [ImagEdit.Cursor] SuperVGA=16,32,32 These two sections define a 16-color icon with a size of 64-by-64 pixels, and a 16-color cursor with a size of 32-by-32 pixels.